Permalink
Browse files

FIX #53 removed type hinting for scalar

  • Loading branch information...
1 parent e0d2c31 commit 0e307890402a1a6a87729d56005d9a1fa5bb5c9e @colymba committed Jan 17, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 code/GridFieldBulkManager.php
@@ -181,7 +181,7 @@ function removeClassFromBlacklist ( $className )
* @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 @@ function addBulkAction(string $name, $label = null, $handler = null, $config = n
* @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']) )
{

0 comments on commit 0e30789

Please sign in to comment.