Change "isDisabled" to "isEnabled" for actions everywhere #33859
Annotations
10 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 null.
|
Run Static Analysis (only for StaticAnalysis):
src/Grid.php#L378
Parameter #4 $isEnabled of method Atk4\Ui\Table\Column\ActionButtons::addButton() expects null, bool|(Closure) given.
|
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 null.
|
Run Static Analysis (only for StaticAnalysis):
src/Grid.php#L418
Parameter #4 $isEnabled of method Atk4\Ui\Table\Column\ActionMenu::addActionMenuItem() expects null, bool|(Closure) given.
|
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 null.
|
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 null.
|
Run Static Analysis (only for StaticAnalysis):
src/Table/Column/ActionButtons.php#L63
Strict comparison using === between null 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 null.
|
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 null.
|
Run Static Analysis (only for StaticAnalysis):
src/Table/Column/ActionMenu.php#L78
Strict comparison using === between null and false will always evaluate to false.
|
Loading