We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -34,7 +34,7 @@ discard block |
||
| 34 | 34 | /** |
| 35 | 35 | * Get or create a CrudPanel instance for the given controller. |
| 36 | 36 | */ |
| 37 | - public function getCrudPanel(CrudControllerContract|string $controller): CrudPanel |
|
| 37 | + public function getCrudPanel(CrudControllerContract | string $controller): CrudPanel |
|
| 38 | 38 | { |
| 39 | 39 | $controllerClass = is_string($controller) ? $controller : get_class($controller); |
| 40 | 40 | |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | $crud->setOperation($operation); |
| 70 | 70 | |
| 71 | 71 | $primaryControllerRequest = $this->cruds[array_key_first($this->cruds)]->getRequest(); |
| 72 | - if (! $crud->isInitialized() || ! $this->isOperationInitialized($controller::class, $operation)) { |
|
| 72 | + if (!$crud->isInitialized() || !$this->isOperationInitialized($controller::class, $operation)) { |
|
| 73 | 73 | self::setActiveController($controller::class); |
| 74 | 74 | $crud->initialized = false; |
| 75 | 75 | self::setActiveController($controller::class); |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | */ |
| 100 | 100 | public function storeInitializedOperation(string $controller, ?string $operation): void |
| 101 | 101 | { |
| 102 | - if (! $operation) { |
|
| 102 | + if (!$operation) { |
|
| 103 | 103 | return; |
| 104 | 104 | } |
| 105 | 105 | $this->initializedOperations[$controller][] = $operation; |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | */ |
| 141 | 141 | public function getActiveCrudPanel(string $controller): CrudPanel |
| 142 | 142 | { |
| 143 | - if (! isset($this->cruds[$controller])) { |
|
| 143 | + if (!isset($this->cruds[$controller])) { |
|
| 144 | 144 | return $this->getCrudPanel($this->getActiveController() ?? $this->getParentController() ?? $controller); |
| 145 | 145 | } |
| 146 | 146 | |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | */ |
| 155 | 155 | public function getParentController(): ?string |
| 156 | 156 | { |
| 157 | - if (! empty($this->cruds)) { |
|
| 157 | + if (!empty($this->cruds)) { |
|
| 158 | 158 | return array_key_first($this->cruds); |
| 159 | 159 | } |
| 160 | 160 | |
@@ -227,7 +227,7 @@ discard block |
||
| 227 | 227 | |
| 228 | 228 | $cruds = $this->getCrudPanels(); |
| 229 | 229 | |
| 230 | - if (! empty($cruds)) { |
|
| 230 | + if (!empty($cruds)) { |
|
| 231 | 231 | $crudPanel = reset($cruds); |
| 232 | 232 | |
| 233 | 233 | return $crudPanel; |