We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | class IsArrayViewHelper extends AbstractViewHelper |
||
| 21 | { |
||
| 22 | public function initializeArguments() |
||
| 23 | { |
||
| 24 | parent::initializeArguments(); |
||
| 25 | $this->registerArgument('subject', 'string', 'The subject'); |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return bool |
||
| 30 | */ |
||
| 31 | public static function renderStatic( |
||
| 42 | } |
||
| 43 | } |
||
| 44 |
In the issue above, the returned value is violating the contract defined by the mentioned interface.
Let's take a look at an example: