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()) { |
|
72 | + if (!$crud->isInitialized()) { |
|
73 | 73 | self::setActiveController($controller::class); |
74 | 74 | $controller->initializeCrudPanel($primaryControllerRequest, $crud); |
75 | 75 | self::unsetActiveController(); |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | */ |
128 | 128 | public function getActiveCrudPanel(string $controller): CrudPanel |
129 | 129 | { |
130 | - if (! isset($this->cruds[$controller])) { |
|
130 | + if (!isset($this->cruds[$controller])) { |
|
131 | 131 | return $this->getCrudPanel($this->getActiveController() ?? $this->getParentController() ?? $controller); |
132 | 132 | } |
133 | 133 | |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | */ |
142 | 142 | public function getParentController(): ?string |
143 | 143 | { |
144 | - if (! empty($this->cruds)) { |
|
144 | + if (!empty($this->cruds)) { |
|
145 | 145 | return array_key_first($this->cruds); |
146 | 146 | } |
147 | 147 | |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | |
215 | 215 | $cruds = $this->getCrudPanels(); |
216 | 216 | |
217 | - if (! empty($cruds)) { |
|
217 | + if (!empty($cruds)) { |
|
218 | 218 | $crudPanel = reset($cruds); |
219 | 219 | |
220 | 220 | return $crudPanel; |