Skip to content

Commit

Permalink
Merge pull request #704 from quizlet/uniqid_perf_fix
Browse files Browse the repository at this point in the history
Fixing performance issue with uniqid
  • Loading branch information
davedevelopment committed Feb 28, 2017
2 parents e20e6dc + 1d124be commit ebad32e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Mockery/Mock.php
Expand Up @@ -834,7 +834,7 @@ protected function mockery_getMethods()
private function hasMethodOverloadingInParentClass()
{
// if there's __call any name would be callable
return is_callable('parent::' . uniqid(__FUNCTION__));
return is_callable('parent::aFunctionNameThatNoOneWouldEverUseInRealLife12345');
}

/**
Expand Down

0 comments on commit ebad32e

Please sign in to comment.