We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
1 | <?php |
||
5 | trait Errors |
||
6 | { |
||
7 | protected $groupedErrors = true; |
||
8 | protected $inlineErrors = false; |
||
9 | |||
10 | public function setErrorDefaults() |
||
15 | |||
16 | // Getters |
||
17 | |||
18 | public function groupedErrorsEnabled() |
||
22 | |||
23 | public function inlineErrorsEnabled() |
||
27 | |||
28 | // Setters |
||
29 | |||
30 | public function enableGroupedErrors() |
||
36 | |||
37 | public function disableGroupedErrors() |
||
43 | |||
44 | public function enableInlineErrors() |
||
50 | |||
51 | public function disableInlineErrors() |
||
57 | } |
||
58 |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@return
annotation as described here.