Multiplier::validate(): Filter out non-validatable components #108
Annotations
8 errors and 1 warning
PHPStan:
src/Multiplier.php#L172
Parameter #1 $array of function array_filter expects array, Iterator<int|string, Nette\ComponentModel\IComponent> given.
|
PHPStan:
src/Multiplier.php#L182
Parameter #1 $controls of method Nette\Forms\Container::validate() expects array<Nette\Forms\Control>|null, array<Nette\Forms\Container|Nette\Forms\Control> given.
|
PHPStan:
src/Multiplier.php#L239
Cannot call method create() on Contributte\FormMultiplier\Buttons\RemoveButton|null.
|
PHPStan:
src/Multiplier.php#L320
Parameter #1 $array of function array_filter expects array, Iterator<int|string, Nette\ComponentModel\IComponent> given.
|
PHPStan:
src/Multiplier.php#L392
Cannot call method getHttpData() on Nette\Forms\Form|null.
|
PHPStan:
src/Multiplier.php#L399
Parameter #1 $array of function array_filter expects array, Iterator<int|string, Nette\ComponentModel\IComponent> given.
|
PHPStan:
src/Multiplier.php#L435
Parameter #1 $array of function array_filter expects array, Iterator<int|string, Nette\ComponentModel\IComponent> given.
|
PHPStan
Process completed with exit code 2.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading