Skip to content

Commit

Permalink
#135 #137 replacing ++ with += 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed Jul 22, 2017
1 parent 60b67e1 commit bd42ab4
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -73,7 +73,7 @@ public function testStopCallingLoadersIfClassIsNotFound() : void
AnnotationRegistry::reset();
$i = 0;
$autoLoader = function () use (&$i) : bool {
$i++;
$i += 1;
return false;
};
AnnotationRegistry::registerLoader($autoLoader);
Expand All @@ -93,7 +93,7 @@ public function testStopCallingLoadersAfterClassIsFound() : void
$i = 0;
$autoLoader = function () use (&$i, $className) : bool {
eval('class ' . $className . ' {}');
$i++;
$i += 1;
return true;
};
AnnotationRegistry::registerLoader($autoLoader);
Expand Down

0 comments on commit bd42ab4

Please sign in to comment.