We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | */ |
| 27 | 27 | public function cacheForComponent(string $tableId, string $controllerClass, ?\Closure $setup = null, ?string $name = null, ?CrudPanel $crud = null): bool |
| 28 | 28 | { |
| 29 | - if (! $setup) { |
|
| 29 | + if (!$setup) { |
|
| 30 | 30 | return false; |
| 31 | 31 | } |
| 32 | 32 | |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | // Check if the request has a datatable_id parameter |
| 88 | 88 | $tableId = request('datatable_id'); |
| 89 | 89 | |
| 90 | - if (! $tableId) { |
|
| 90 | + if (!$tableId) { |
|
| 91 | 91 | \Log::debug('Missing datatable_id in request parameters'); |
| 92 | 92 | |
| 93 | 93 | return false; |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | public function applySetupClosure(CrudPanel $crud, string $controllerClass, \Closure $setupClosure, $entry = null): bool |
| 109 | 109 | { |
| 110 | 110 | $originalSetup = $setupClosure; |
| 111 | - $modifiedSetup = function ($crud, $entry) use ($originalSetup, $controllerClass) { |
|
| 111 | + $modifiedSetup = function($crud, $entry) use ($originalSetup, $controllerClass) { |
|
| 112 | 112 | CrudManager::setActiveController($controllerClass); |
| 113 | 113 | |
| 114 | 114 | // Run the original closure |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | $cacheKey = $this->generateCacheKey($identifier); |
| 44 | 44 | $cachedData = Cache::get($cacheKey); |
| 45 | 45 | |
| 46 | - if (! $cachedData) { |
|
| 46 | + if (!$cachedData) { |
|
| 47 | 47 | return false; |
| 48 | 48 | } |
| 49 | 49 | |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | ); |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | - if (! $this->crud->has('list.datatablesUrl')) { |
|
| 40 | + if (!$this->crud->has('list.datatablesUrl')) { |
|
| 41 | 41 | $this->crud->set('list.datatablesUrl', $this->crud->getRoute()); |
| 42 | 42 | } |
| 43 | 43 | |