We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | */ |
33 | 33 | public function tabsDisabled() |
34 | 34 | { |
35 | - return ! $this->tabsEnabled(); |
|
35 | + return !$this->tabsEnabled(); |
|
36 | 36 | } |
37 | 37 | |
38 | 38 | public function setTabsType($type) |
@@ -121,8 +121,8 @@ discard block |
||
121 | 121 | */ |
122 | 122 | public function getElementsWithoutATab(array $elements) |
123 | 123 | { |
124 | - return collect($elements)->filter(function ($value) { |
|
125 | - return ! isset($value['tab']); |
|
124 | + return collect($elements)->filter(function($value) { |
|
125 | + return !isset($value['tab']); |
|
126 | 126 | }); |
127 | 127 | } |
128 | 128 | |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | public function getTabElements(string $label, array $elements) |
149 | 149 | { |
150 | 150 | if ($this->tabExists($label)) { |
151 | - return collect($elements)->filter(function ($value) use ($label) { |
|
151 | + return collect($elements)->filter(function($value) use ($label) { |
|
152 | 152 | return isset($value['tab']) && $value['tab'] == $label; |
153 | 153 | }); |
154 | 154 | } |
@@ -181,11 +181,11 @@ discard block |
||
181 | 181 | } |
182 | 182 | |
183 | 183 | collect($items) |
184 | - ->filter(function ($value) { |
|
184 | + ->filter(function($value) { |
|
185 | 185 | return isset($value['tab']); |
186 | 186 | }) |
187 | - ->each(function ($value) use (&$tabs) { |
|
188 | - if (! in_array($value['tab'], $tabs)) { |
|
187 | + ->each(function($value) use (&$tabs) { |
|
188 | + if (!in_array($value['tab'], $tabs)) { |
|
189 | 189 | $tabs[] = $value['tab']; |
190 | 190 | } |
191 | 191 | }); |