Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jul 31, 2019
1 parent e4c6387 commit 691d437
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Framework/MockObject/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ static function ($type) {

if ($mockClassName !== '' && \class_exists($mockClassName, false)) {
try {
$reflect = new \ReflectionClass($mockClassName);
$reflector = new \ReflectionClass($mockClassName);
} catch (\ReflectionException $e) {
throw new RuntimeException(
$e->getMessage(),
Expand All @@ -140,7 +140,7 @@ static function ($type) {
);
}

if (!$reflect->implementsInterface(MockObject::class)) {
if (!$reflector->implementsInterface(MockObject::class)) {
throw new RuntimeException(
\sprintf(
'Class "%s" already exists.',
Expand Down

0 comments on commit 691d437

Please sign in to comment.