mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
FIX #53 removed type hinting for scalar
This commit is contained in:
parent
e0d2c311b5
commit
0e30789040
@ -181,7 +181,7 @@ class GridFieldBulkManager implements GridField_HTMLProvider, GridField_ColumnPr
|
|||||||
* @param array $config Front-end configuration array( 'isAjax' => true, 'icon' => 'accept', 'isDestructive' => false )
|
* @param array $config Front-end configuration array( 'isAjax' => true, 'icon' => 'accept', 'isDestructive' => false )
|
||||||
* @return GridFieldBulkManager Current GridFieldBulkManager instance
|
* @return GridFieldBulkManager Current GridFieldBulkManager instance
|
||||||
*/
|
*/
|
||||||
function addBulkAction(string $name, $label = null, $handler = null, $config = null)
|
function addBulkAction($name, $label = null, $handler = null, $config = null)
|
||||||
{
|
{
|
||||||
if ( array_key_exists($name, $this->config['actions']) )
|
if ( array_key_exists($name, $this->config['actions']) )
|
||||||
{
|
{
|
||||||
@ -233,7 +233,7 @@ class GridFieldBulkManager implements GridField_HTMLProvider, GridField_ColumnPr
|
|||||||
* @param string $name Bulk action's name
|
* @param string $name Bulk action's name
|
||||||
* @return GridFieldBulkManager Current GridFieldBulkManager instance
|
* @return GridFieldBulkManager Current GridFieldBulkManager instance
|
||||||
*/
|
*/
|
||||||
function removeBulkAction(string $name)
|
function removeBulkAction($name)
|
||||||
{
|
{
|
||||||
if ( !array_key_exists($name, $this->config['actions']) )
|
if ( !array_key_exists($name, $this->config['actions']) )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user