Skip to content

Commit 2a61a49

Browse files
committed
Apply fixes from StyleCI
[ci skip] [skip ci]
1 parent 6d8b498 commit 2a61a49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/Library/CrudPanel/Traits/Relationships.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,10 +346,10 @@ private function modelMethodIsRelationship($model, $method)
346346
// this check is to make sure we don't autoload the class when checking strings instead of objects.
347347
// the third parameter of is_a() allow us to check strings, but it also autoloads the class
348348
// in case it does not exists. The classes we want to check against EXIST.
349-
if(!class_exists($returnType, false)) {
349+
if (! class_exists($returnType, false)) {
350350
return false;
351351
}
352-
// the above check
352+
// the above check
353353
if (is_a($returnType, 'Illuminate\Database\Eloquent\Casts\Attribute', true)) {
354354
return false;
355355
}

0 commit comments

Comments
 (0)