More fixes
This commit is contained in:
@@ -78,13 +78,13 @@ class DateFactory
|
||||
/**
|
||||
* Make a Carbon instance from a string.
|
||||
*
|
||||
* @param string $time
|
||||
* @param string|null $time
|
||||
*
|
||||
* @throws \InvalidArgumentException
|
||||
*
|
||||
* @return \Carbon\Carbon
|
||||
*/
|
||||
public function make($time)
|
||||
public function make($time = null)
|
||||
{
|
||||
return (new Date($time))->setTimezone($this->cachetTimezone);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user