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 $errorsGrouped = true; |
||
8 | protected $errorsInline = false; |
||
9 | |||
10 | public function setErrorDefaults() |
||
15 | |||
16 | public function enableGroupedErrors() |
||
22 | |||
23 | public function disableGroupedErrors() |
||
29 | |||
30 | public function isGroupedErrorsEnabled() |
||
34 | |||
35 | public function enableInlineErrors() |
||
41 | |||
42 | public function disableInlineErrors() |
||
48 | |||
49 | public function isInlineErrorsEnabled() |
||
53 | } |
||
54 |
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.