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 | ||
| 91 | $tab->fields = $tab->fields->reject(function ($field) { |
|
| 92 | return $field['method'] == 'update'; |
|
| 93 | }); |
|
| 94 | ||
| 95 | return $tab->fields->count(); |
|
| 96 | }); |
|
| 97 | } |
|
| 98 | ||
| 99 | public function getUpdateTabs() |
|
| 100 | { |
|
| @@ 99-109 (lines=11) @@ | ||
| 96 | }); |
|
| 97 | } |
|
| 98 | ||
| 99 | public function getUpdateTabs() |
|
| 100 | { |
|
| 101 | return $this->tabs->filter(function (&$tab) { |
|
| 102 | ||
| 103 | $tab->fields = $tab->fields->reject(function ($field) { |
|
| 104 | return $field['method'] == 'create'; |
|
| 105 | }); |
|
| 106 | ||
| 107 | return $tab->fields->count(); |
|
| 108 | }); |
|
| 109 | } |
|
| 110 | } |
|
| 111 | ||