Skip to content

Commit a8b528e

Browse files
committed
style: break long lines
1 parent def79d1 commit a8b528e

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

‎system/Config/Factories.php‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,11 @@ public static function __callStatic(string $component, array $arguments)
125125
protected static function locateClass(array $options, string $name): ?string
126126
{
127127
// Check for low-hanging fruit
128-
if (class_exists($name, false) && self::verifyPreferApp($options, $name) && self::verifyInstanceOf($options, $name)) {
128+
if (
129+
class_exists($name, false)
130+
&& self::verifyPreferApp($options, $name)
131+
&& self::verifyInstanceOf($options, $name)
132+
) {
129133
return $name;
130134
}
131135

@@ -136,7 +140,10 @@ protected static function locateClass(array $options, string $name): ?string
136140
: rtrim(APP_NAMESPACE, '\\') . '\\' . $options['path'] . '\\' . $basename;
137141

138142
// If an App version was requested then see if it verifies
139-
if ($options['preferApp'] && class_exists($appname) && self::verifyInstanceOf($options, $name)) {
143+
if (
144+
$options['preferApp'] && class_exists($appname)
145+
&& self::verifyInstanceOf($options, $name)
146+
) {
140147
return $appname;
141148
}
142149

0 commit comments

Comments
 (0)