We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -41,8 +41,8 @@ discard block |
||
41 | 41 | { |
42 | 42 | $fetchConfig = []; |
43 | 43 | |
44 | - if (! is_array($arg)) { |
|
45 | - if (! class_exists($arg)) { |
|
44 | + if (!is_array($arg)) { |
|
45 | + if (!class_exists($arg)) { |
|
46 | 46 | return response()->json(['error' => 'Class: '.$arg.' does not exists'], 500); |
47 | 47 | } |
48 | 48 | $fetchConfig['model'] = $arg; |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | //we grab the column type |
88 | 88 | $columnType = $conn->getSchemaBuilder()->getColumnType($table, $searchColumn); |
89 | 89 | |
90 | - $operation = ! isset($isFirst) ? 'where' : 'orWhere'; |
|
90 | + $operation = !isset($isFirst) ? 'where' : 'orWhere'; |
|
91 | 91 | if ($columnType == 'string') { |
92 | 92 | $instance = $instance->{$operation}($searchColumn, 'LIKE', '%'.$search_term.'%'); |
93 | 93 | } else { |