Skip to content

Commit

Permalink
remove set state
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Mar 9, 2018
1 parent 585f59b commit b3a5608
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/Illuminate/Support/Carbon.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,4 @@ public static function serializeUsing($callback)
{
static::$serializer = $callback;
}

/**
* Create a new Carbon instance based on the given state array.
*
* @param array $array
* @return static
*/
public static function __set_state(array $array)
{
return static::instance(parent::__set_state($array));
}
}

0 comments on commit b3a5608

Please sign in to comment.