From 0e307890402a1a6a87729d56005d9a1fa5bb5c9e Mon Sep 17 00:00:00 2001 From: colymba Date: Fri, 17 Jan 2014 12:56:46 +0200 Subject: [PATCH] FIX #53 removed type hinting for scalar --- code/GridFieldBulkManager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/GridFieldBulkManager.php b/code/GridFieldBulkManager.php index 33ebbbb..983cd00 100644 --- a/code/GridFieldBulkManager.php +++ b/code/GridFieldBulkManager.php @@ -181,7 +181,7 @@ class GridFieldBulkManager implements GridField_HTMLProvider, GridField_ColumnPr * @param array $config Front-end configuration array( 'isAjax' => true, 'icon' => 'accept', 'isDestructive' => false ) * @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']) ) { @@ -233,7 +233,7 @@ class GridFieldBulkManager implements GridField_HTMLProvider, GridField_ColumnPr * @param string $name Bulk action's name * @return GridFieldBulkManager Current GridFieldBulkManager instance */ - function removeBulkAction(string $name) + function removeBulkAction($name) { if ( !array_key_exists($name, $this->config['actions']) ) {