We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | // we get the first column from database |
56 | 56 | // that is NOT indexed (usually primary, foreign keys) |
57 | 57 | foreach ($columnNames as $columnName) { |
58 | - if (! in_array($columnName, $indexes)) { |
|
58 | + if (!in_array($columnName, $indexes)) { |
|
59 | 59 | //check for convention "field<_id>" in case developer didn't add foreign key constraints. |
60 | 60 | if (strpos($columnName, '_id') !== false) { |
61 | 61 | continue; |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | |
68 | 68 | // in case everything fails we just return the first column in database |
69 | 69 | $firstColumnInTable = Arr::first($columnNames); |
70 | - if (! empty($firstColumnInTable)) { |
|
70 | + if (!empty($firstColumnInTable)) { |
|
71 | 71 | return $firstColumnInTable; |
72 | 72 | } |
73 | 73 |
@@ -69,7 +69,7 @@ |
||
69 | 69 | private function setCrudPanelRequest() |
70 | 70 | { |
71 | 71 | $request = request()->create('/admin/users/create', 'POST', ['name' => 'foo']); |
72 | - $request->setRouteResolver(function () use ($request) { |
|
72 | + $request->setRouteResolver(function() use ($request) { |
|
73 | 73 | return (new Route('POST', 'admin/users/create', ['UserCrudController', 'create']))->bind($request); |
74 | 74 | }); |
75 | 75 | $this->crudPanel->setRequest($request); |