Skip to content

Commit

Permalink
Fix for new Carbon
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioribeiro committed Mar 9, 2018
1 parent b4075de commit b1df8d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Support/Carbon.php
Expand Up @@ -49,11 +49,11 @@ public static function serializeUsing($callback)
/**
* Create a new Carbon instance based on the given state array.
*
* @param array $array
* @param array $state
* @return static
*/
public static function __set_state($array)
public static function __set_state(array $state)
{
return static::instance(parent::__set_state($array));
return static::instance(parent::__set_state($state));
}
}

0 comments on commit b1df8d2

Please sign in to comment.