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 | |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | { |
150 | 150 | if (in_array($label, $this->getUniqueTabNames($source))) { |
151 | 151 | $items = $this->getCurrentItems($source); |
152 | - return collect($items)->filter(function ($value) use ($label) { |
|
152 | + return collect($items)->filter(function($value) use ($label) { |
|
153 | 153 | return isset($value['tab']) && $value['tab'] == $label; |
154 | 154 | }); |
155 | 155 | } |
@@ -171,11 +171,11 @@ discard block |
||
171 | 171 | $items = $this->getCurrentItems($source); |
172 | 172 | |
173 | 173 | collect($items) |
174 | - ->filter(function ($value) { |
|
174 | + ->filter(function($value) { |
|
175 | 175 | return isset($value['tab']); |
176 | 176 | }) |
177 | - ->each(function ($value) use (&$tabs) { |
|
178 | - if (! in_array($value['tab'], $tabs)) { |
|
177 | + ->each(function($value) use (&$tabs) { |
|
178 | + if (!in_array($value['tab'], $tabs)) { |
|
179 | 179 | $tabs[] = $value['tab']; |
180 | 180 | } |
181 | 181 | }); |