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) |
@@ -117,8 +117,8 @@ discard block |
||
| 117 | 117 | |
| 118 | 118 | public function getElementsWithoutATab(array $elements): \Illuminate\Support\Collection |
| 119 | 119 | { |
| 120 | - return collect($elements)->filter(function ($value) { |
|
| 121 | - return ! isset($value['tab']); |
|
| 120 | + return collect($elements)->filter(function($value) { |
|
| 121 | + return !isset($value['tab']); |
|
| 122 | 122 | }); |
| 123 | 123 | } |
| 124 | 124 | |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | public function getTabElements(string $label, array $elements): \Illuminate\Support\Collection |
| 136 | 136 | { |
| 137 | 137 | if ($this->tabExists($label)) { |
| 138 | - return collect($elements)->filter(function ($value) use ($label) { |
|
| 138 | + return collect($elements)->filter(function($value) use ($label) { |
|
| 139 | 139 | return isset($value['tab']) && $value['tab'] == $label; |
| 140 | 140 | }); |
| 141 | 141 | } |
@@ -148,11 +148,11 @@ discard block |
||
| 148 | 148 | $tabs = []; |
| 149 | 149 | |
| 150 | 150 | collect($this->getCurrentFieldsOrColumns()) |
| 151 | - ->filter(function ($value) { |
|
| 151 | + ->filter(function($value) { |
|
| 152 | 152 | return isset($value['tab']); |
| 153 | 153 | }) |
| 154 | - ->each(function ($value) use (&$tabs) { |
|
| 155 | - if (! in_array($value['tab'], $tabs)) { |
|
| 154 | + ->each(function($value) use (&$tabs) { |
|
| 155 | + if (!in_array($value['tab'], $tabs)) { |
|
| 156 | 156 | $tabs[] = $value['tab']; |
| 157 | 157 | } |
| 158 | 158 | }); |