We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | */ |
41 | 41 | public function cacheForComponent(string $tableId, string $controllerClass, ?\Closure $setup = null, ?string $name = null, ?CrudPanel $crud = null): bool |
42 | 42 | { |
43 | - if (! $setup) { |
|
43 | + if (!$setup) { |
|
44 | 44 | return false; |
45 | 45 | } |
46 | 46 | |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | { |
82 | 82 | $tableId = request('datatable_id'); |
83 | 83 | |
84 | - if (! $tableId) { |
|
84 | + if (!$tableId) { |
|
85 | 85 | \Log::debug('Missing datatable_id in request parameters'); |
86 | 86 | return false; |
87 | 87 | } |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | public function applySetupClosure(CrudPanel $crud, string $controllerClass, \Closure $setupClosure, $entry = null): bool |
102 | 102 | { |
103 | 103 | $originalSetup = $setupClosure; |
104 | - $modifiedSetup = function ($crud, $entry) use ($originalSetup, $controllerClass) { |
|
104 | + $modifiedSetup = function($crud, $entry) use ($originalSetup, $controllerClass) { |
|
105 | 105 | CrudManager::setActiveController($controllerClass); |
106 | 106 | |
107 | 107 | // Run the original closure |
@@ -174,7 +174,7 @@ discard block |
||
174 | 174 | |
175 | 175 | return $found; |
176 | 176 | } catch (\Exception $e) { |
177 | - \Log::error('Error applying cached datatable config: ' . $e->getMessage(), [ |
|
177 | + \Log::error('Error applying cached datatable config: '.$e->getMessage(), [ |
|
178 | 178 | 'exception' => $e, |
179 | 179 | ]); |
180 | 180 | return false; |
@@ -14,7 +14,7 @@ |
||
14 | 14 | */ |
15 | 15 | protected function generateCacheKey($identifier): string |
16 | 16 | { |
17 | - return $this->cachePrefix . $identifier; |
|
17 | + return $this->cachePrefix.$identifier; |
|
18 | 18 | } |
19 | 19 | |
20 | 20 | /** |
@@ -34,7 +34,7 @@ |
||
34 | 34 | $cache->cacheForComponent($this->tableId, $this->controller, $this->setup, $this->name, $this->crud); |
35 | 35 | } |
36 | 36 | |
37 | - if (! $this->crud->has('list.datatablesUrl')) { |
|
37 | + if (!$this->crud->has('list.datatablesUrl')) { |
|
38 | 38 | $this->crud->set('list.datatablesUrl', $this->crud->getRoute()); |
39 | 39 | } |
40 | 40 |