Skip to content

Commit

Permalink
Keep the exact inherited arguments naming of __set_state (#1182)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylekatarnls authored Mar 10, 2018
1 parent 0200f98 commit bba6c6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Carbon/Carbon.php
Original file line number Diff line number Diff line change
Expand Up @@ -3851,12 +3851,12 @@ public static function fromSerialized($value)
/**
* The __set_state handler.
*
* @param $state
* @param array $array
*
* @return static
*/
public static function __set_state($state)
public static function __set_state($array)
{
return static::instance(parent::__set_state($state));
return static::instance(parent::__set_state($array));
}
}

0 comments on commit bba6c6e

Please sign in to comment.