Skip to content
This repository has been archived by the owner on May 24, 2020. It is now read-only.

Commit

Permalink
Apply fixes from StyleCI (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue committed Apr 6, 2019
1 parent 09f7b7a commit 666b6ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ClassResolver.php
Expand Up @@ -44,7 +44,7 @@ public function resolve(array $args = [])
{
$reflected = new ReflectionClass($this->class);

if ($reflected->getConstructor()->getNumberOfParameters() == 0) {
if (0 == $reflected->getConstructor()->getNumberOfParameters()) {
return $reflected->newInstanceWithoutConstructor();
}

Expand Down

0 comments on commit 666b6ce

Please sign in to comment.