composer update

This commit is contained in:
2019-12-01 06:37:45 +00:00
parent fa199eef05
commit 3115ab75a5
3650 changed files with 72361 additions and 147137 deletions
+2 -9
View File
@@ -76,7 +76,7 @@ class MutableDate extends DateTime implements ChronosInterface
* timezone will always be UTC. Normalizing the timezone allows for
* subtraction/addition to have deterministic results.
*
* @param string|null $time Fixed or relative time
* @param string|null|\DateTimeInterface $time Fixed or relative time
*/
public function __construct($time = 'now')
{
@@ -132,18 +132,11 @@ class MutableDate extends DateTime implements ChronosInterface
*/
public function __debugInfo()
{
// Conditionally add properties if state exists to avoid
// errors when using a debugger.
$vars = get_object_vars($this);
$properties = [
'hasFixedNow' => static::hasTestNow(),
'date' => $this->format('Y-m-d'),
];
if (isset($vars['date'])) {
$properties['date'] = $this->format('Y-m-d');
}
return $properties;
}
}