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