Skip to content
Permalink
Browse files

Shorten line

  • Loading branch information...
muglug committed Apr 19, 2019
1 parent 205fa36 commit f3b7e16160894bef44fe611b56db81f994c51093
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/Psalm/Internal/Codebase/ClassLikes.php
@@ -880,7 +880,9 @@ private function checkMethodReferences(ClassLikeStorage $classlike_storage, Meth
}
}
} elseif (!isset($classlike_storage->declaring_method_ids['__call'])) {
$has_variable_calls = $codebase->analyzer->hasMixedMemberName(strtolower($classlike_storage->name . '::'));
$has_variable_calls = $codebase->analyzer->hasMixedMemberName(
strtolower($classlike_storage->name . '::')
);
$issue = new UnusedMethod(
'Cannot find ' . ($has_variable_calls ? 'explicit' : 'any')

0 comments on commit f3b7e16

Please sign in to comment.
You can’t perform that action at this time.