Change "isDisabled" to "isEnabled" for actions everywhere #33857
Annotations
9 errors
Run Static Analysis (only for StaticAnalysis):
src/Grid.php#L355
Default value of the parameter #4 $isEnabled (true) of method Atk4\Ui\Grid::addActionButton() is incompatible with type Closure<T of Atk4\Data\Model>(Atk4\Data\Model): bool.
|
Run Static Analysis (only for StaticAnalysis):
src/Grid.php#L400
Default value of the parameter #4 $isEnabled (true) of method Atk4\Ui\Grid::addActionMenuItem() is incompatible with type Closure<T of Atk4\Data\Model>(Atk4\Data\Model): bool.
|
Run Static Analysis (only for StaticAnalysis):
src/Grid.php#L502
Default value of the parameter #5 $isEnabled (true) of method Atk4\Ui\Grid::addModalAction() is incompatible with type Closure<T of Atk4\Data\Model>(Atk4\Data\Model): bool.
|
Run Static Analysis (only for StaticAnalysis):
src/Table/Column/ActionButtons.php#L49
Default value of the parameter #4 $isEnabled (true) of method Atk4\Ui\Table\Column\ActionButtons::addButton() is incompatible with type Closure<T of Atk4\Data\Model>(Atk4\Data\Model): bool.
|
Run Static Analysis (only for StaticAnalysis):
src/Table/Column/ActionButtons.php#L63
Strict comparison using === between Closure<T of Atk4\Data\Model>(T): bool and false will always evaluate to false.
|
Run Static Analysis (only for StaticAnalysis):
src/Table/Column/ActionButtons.php#L99
Default value of the parameter #6 $isEnabled (true) of method Atk4\Ui\Table\Column\ActionButtons::addModal() is incompatible with type Closure<T of Atk4\Data\Model>(Atk4\Data\Model): bool.
|
Run Static Analysis (only for StaticAnalysis):
src/Table/Column/ActionMenu.php#L63
Default value of the parameter #4 $isEnabled (true) of method Atk4\Ui\Table\Column\ActionMenu::addActionMenuItem() is incompatible with type Closure<T of Atk4\Data\Model>(Atk4\Data\Model): bool.
|
Run Static Analysis (only for StaticAnalysis):
src/Table/Column/ActionMenu.php#L78
Strict comparison using === between Closure<T of Atk4\Data\Model>(T): bool and false will always evaluate to false.
|
Run Static Analysis (only for StaticAnalysis)
Process completed with exit code 1.
|
Loading