We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | // in model we use this try/catch block. If the property exists we return it, if not (exception raised) |
24 | 24 | // we return the result of our column name guessing. |
25 | 25 | try { |
26 | - return ! is_array($this->identifiableAttribute) ? [$this->identifiableAttribute] : $this->identifiableAttribute; |
|
26 | + return !is_array($this->identifiableAttribute) ? [$this->identifiableAttribute] : $this->identifiableAttribute; |
|
27 | 27 | } catch (Exception $e) { |
28 | 28 | return [static::guessIdentifiableColumnName()]; |
29 | 29 | } |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | // we get the first column from database |
68 | 68 | // that is NOT indexed (usually primary, foreign keys) |
69 | 69 | foreach ($columns as $columnName => $columnProperties) { |
70 | - if (! in_array($columnName, $indexedColumns)) { |
|
70 | + if (!in_array($columnName, $indexedColumns)) { |
|
71 | 71 | |
72 | 72 | //check for convention "field<_id>" in case developer didn't add foreign key constraints. |
73 | 73 | if (strpos($columnName, '_id') !== false) { |