Skip to content

Commit

Permalink
Fix code style. (#40241)
Browse files Browse the repository at this point in the history
  • Loading branch information
selcukcukur authored Jan 4, 2022
1 parent c0d9735 commit 8d745f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Illuminate/Support/Reflector.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ public static function isParameterSubclassOf($parameter, $className)
{
$paramClassName = static::getParameterClassName($parameter);

return ($paramClassName && class_exists($paramClassName))
? (new ReflectionClass($paramClassName))->isSubclassOf($className)
: false;
return $paramClassName
&& class_exists($paramClassName)
&& (new ReflectionClass($paramClassName))->isSubclassOf($className);
}
}

0 comments on commit 8d745f1

Please sign in to comment.