Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Passed
Push — add-table-headingg ( c712a6...ec3841 )
by Pedro
12:51
created
src/CrudPanelManager.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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();
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      */
90 90
     public function storeInitializedOperation(string $controller, ?string $operation): void
91 91
     {
92
-        if (! $operation) {
92
+        if (!$operation) {
93 93
             return;
94 94
         }
95 95
         $this->initializedOperations[$controller][] = $operation;
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
      */
131 131
     public function getActiveCrudPanel(string $controller): CrudPanel
132 132
     {
133
-        if (! isset($this->cruds[$controller])) {
133
+        if (!isset($this->cruds[$controller])) {
134 134
             return $this->getCrudPanel($this->getActiveController() ?? $this->getParentController() ?? $controller);
135 135
         }
136 136
 
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
      */
145 145
     public function getParentController(): ?string
146 146
     {
147
-        if (! empty($this->cruds)) {
147
+        if (!empty($this->cruds)) {
148 148
             return array_key_first($this->cruds);
149 149
         }
150 150
 
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
 
218 218
         $cruds = $this->getCrudPanels();
219 219
 
220
-        if (! empty($cruds)) {
220
+        if (!empty($cruds)) {
221 221
             $crudPanel = reset($cruds);
222 222
 
223 223
             return $crudPanel;
Please login to merge, or discard this patch.