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 | } |
@@ -161,11 +161,11 @@ discard block |
||
| 161 | 161 | $tabs = []; |
| 162 | 162 | |
| 163 | 163 | collect($this->getCurrentFieldsOrColumns()) |
| 164 | - ->filter(function ($value) { |
|
| 164 | + ->filter(function($value) { |
|
| 165 | 165 | return isset($value['tab']); |
| 166 | 166 | }) |
| 167 | - ->each(function ($value) use (&$tabs) { |
|
| 168 | - if (! in_array($value['tab'], $tabs)) { |
|
| 167 | + ->each(function($value) use (&$tabs) { |
|
| 168 | + if (!in_array($value['tab'], $tabs)) { |
|
| 169 | 169 | $tabs[] = $value['tab']; |
| 170 | 170 | } |
| 171 | 171 | }); |