Skip to content

Commit 8d745f1

Browse files
authored
Fix code style. (#40241)
1 parent c0d9735 commit 8d745f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Illuminate/Support/Reflector.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ public static function isParameterSubclassOf($parameter, $className)
135135
{
136136
$paramClassName = static::getParameterClassName($parameter);
137137

138-
return ($paramClassName && class_exists($paramClassName))
139-
? (new ReflectionClass($paramClassName))->isSubclassOf($className)
140-
: false;
138+
return $paramClassName
139+
&& class_exists($paramClassName)
140+
&& (new ReflectionClass($paramClassName))->isSubclassOf($className);
141141
}
142142
}

0 commit comments

Comments
 (0)