We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 87-97 (lines=11) @@ | ||
| 84 | return $this->tabs; |
|
| 85 | } |
|
| 86 | ||
| 87 | public function getCreateTabs() |
|
| 88 | { |
|
| 89 | return $this->tabs->filter(function (&$tab) { |
|
| 90 | $tab->fields = $tab->fields->reject(function ($field) { |
|
| 91 | return $field['method'] == 'update'; |
|
| 92 | }); |
|
| 93 | ||
| 94 | return $tab->fields->count(); |
|
| 95 | }); |
|
| 96 | } |
|
| 97 | ||
| 98 | public function getUpdateTabs() |
|
| 99 | { |
|
| 100 | return $this->tabs->filter(function (&$tab) { |
|
| @@ 98-108 (lines=11) @@ | ||
| 95 | }); |
|
| 96 | } |
|
| 97 | ||
| 98 | public function getUpdateTabs() |
|
| 99 | { |
|
| 100 | return $this->tabs->filter(function (&$tab) { |
|
| 101 | $tab->fields = $tab->fields->reject(function ($field) { |
|
| 102 | return $field['method'] == 'create'; |
|
| 103 | }); |
|
| 104 | ||
| 105 | return $tab->fields->count(); |
|
| 106 | }); |
|
| 107 | } |
|
| 108 | } |
|
| 109 | ||