We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -348,16 +348,16 @@ |
||
348 | 348 | } |
349 | 349 | |
350 | 350 | protected function hasColumn($table, $name) |
351 | - { |
|
352 | - static $cache = []; |
|
351 | + { |
|
352 | + static $cache = []; |
|
353 | 353 | |
354 | - if(isset($cache[$table])){ |
|
355 | - $columns = $cache[$table]; |
|
356 | - }else{ |
|
357 | - $columns = $cache[$table] = \Schema::getColumnListing($table); |
|
358 | - } |
|
359 | - |
|
360 | - return in_array($name, $columns); |
|
361 | - } |
|
354 | + if(isset($cache[$table])){ |
|
355 | + $columns = $cache[$table]; |
|
356 | + }else{ |
|
357 | + $columns = $cache[$table] = \Schema::getColumnListing($table); |
|
358 | + } |
|
359 | + |
|
360 | + return in_array($name, $columns); |
|
361 | + } |
|
362 | 362 | |
363 | 363 | } |