Skip to content

Commit

Permalink
FIX #53 removed type hinting for scalar
Browse files Browse the repository at this point in the history
  • Loading branch information
colymba committed Jan 17, 2014
1 parent e0d2c31 commit 0e30789
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/GridFieldBulkManager.php
Expand Up @@ -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']) )
{
Expand Down Expand Up @@ -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']) )
{
Expand Down

0 comments on commit 0e30789

Please sign in to comment.