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) |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | { |
| 113 | 113 | $all_fields = $this->getCurrentFieldsOrColumns(); |
| 114 | 114 | |
| 115 | - $fields_without_a_tab = collect($all_fields)->filter(function ($value) { |
|
| 115 | + $fields_without_a_tab = collect($all_fields)->filter(function($value) { |
|
| 116 | 116 | return !isset($value['tab']); |
| 117 | 117 | }); |
| 118 | 118 | |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | if ($this->tabExists($label)) { |
| 129 | 129 | $all_fields = $this->getCurrentFieldsOrColumns(); |
| 130 | 130 | |
| 131 | - $fields_for_current_tab = collect($all_fields)->filter(function ($value) use ($label) { |
|
| 131 | + $fields_for_current_tab = collect($all_fields)->filter(function($value) use ($label) { |
|
| 132 | 132 | return isset($value['tab']) && $value['tab'] == $label; |
| 133 | 133 | }); |
| 134 | 134 | |
@@ -146,10 +146,10 @@ discard block |
||
| 146 | 146 | $tabs = []; |
| 147 | 147 | |
| 148 | 148 | collect($this->getCurrentFieldsOrColumns()) |
| 149 | - ->filter(function ($value) { |
|
| 149 | + ->filter(function($value) { |
|
| 150 | 150 | return isset($value['tab']); |
| 151 | 151 | }) |
| 152 | - ->each(function ($value) use (&$tabs) { |
|
| 152 | + ->each(function($value) use (&$tabs) { |
|
| 153 | 153 | if (!in_array($value['tab'], $tabs)) { |
| 154 | 154 | $tabs[] = $value['tab']; |
| 155 | 155 | } |