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 | |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | if (in_array($tabLabel, $this->getUniqueTabNames($source))) { |
| 146 | 146 | $items = $this->getCurrentItems($source); |
| 147 | 147 | |
| 148 | - return collect($items)->filter(function ($value) use ($tabLabel) { |
|
| 148 | + return collect($items)->filter(function($value) use ($tabLabel) { |
|
| 149 | 149 | return isset($value['tab']) && $value['tab'] == $tabLabel; |
| 150 | 150 | }); |
| 151 | 151 | } |
@@ -167,11 +167,11 @@ discard block |
||
| 167 | 167 | $items = $this->getCurrentItems($source); |
| 168 | 168 | |
| 169 | 169 | collect($items) |
| 170 | - ->filter(function ($value) { |
|
| 170 | + ->filter(function($value) { |
|
| 171 | 171 | return isset($value['tab']); |
| 172 | 172 | }) |
| 173 | - ->each(function ($value) use (&$tabs) { |
|
| 174 | - if (! in_array($value['tab'], $tabs)) { |
|
| 173 | + ->each(function($value) use (&$tabs) { |
|
| 174 | + if (!in_array($value['tab'], $tabs)) { |
|
| 175 | 175 | $tabs[] = $value['tab']; |
| 176 | 176 | } |
| 177 | 177 | }); |