Skip to content

Commit

Permalink
REFACTOR code to a better understand of void return
Browse files Browse the repository at this point in the history
  • Loading branch information
llaville committed Jan 14, 2017
1 parent 439332c commit 83c4664
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Bartlett/CompatInfo/Analyser/CompatibilityAnalyser.php
Original file line number Diff line number Diff line change
Expand Up @@ -1064,7 +1064,8 @@ private function computeClassMethodCallVersions(Node $node)

if ($caller instanceof Node\Expr\New_) {
// class member access on instantiation
return $this->computePhpFeatureVersions($node);
$this->computePhpFeatureVersions($node);
return;
}

if ($caller instanceof Node\Expr\PropertyFetch) {
Expand Down

0 comments on commit 83c4664

Please sign in to comment.