We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -62,7 +62,7 @@ |
||
62 | 62 | // we get the first column from database |
63 | 63 | // that is NOT indexed (usually primary, foreign keys) |
64 | 64 | foreach ($columns as $columnName => $columnProperties) { |
65 | - if (! in_array($columnName, $indexedColumns)) { |
|
65 | + if (!in_array($columnName, $indexedColumns)) { |
|
66 | 66 | |
67 | 67 | //check for convention "field<_id>" in case developer didn't add foreign key constraints. |
68 | 68 | if (strpos($columnName, '_id') !== false) { |
@@ -45,8 +45,8 @@ |
||
45 | 45 | // otherwise assume the arguments are actually the configuration array |
46 | 46 | $config = []; |
47 | 47 | |
48 | - if (! is_array($arg)) { |
|
49 | - if (! class_exists($arg)) { |
|
48 | + if (!is_array($arg)) { |
|
49 | + if (!class_exists($arg)) { |
|
50 | 50 | return response()->json(['error' => 'Class: '.$arg.' does not exists'], 500); |
51 | 51 | } |
52 | 52 | $config['model'] = $arg; |