upgrade to laravel 7 and set branch to v2
This commit is contained in:
+5
-1
@@ -1,4 +1,6 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
|
||||
*
|
||||
@@ -12,6 +14,8 @@
|
||||
*/
|
||||
namespace Cake\Chronos\Traits;
|
||||
|
||||
use Cake\Chronos\ChronosInterface;
|
||||
|
||||
/**
|
||||
* Provides methods for copying datetime objects.
|
||||
*
|
||||
@@ -24,7 +28,7 @@ trait CopyTrait
|
||||
*
|
||||
* @return static
|
||||
*/
|
||||
public function copy()
|
||||
public function copy(): ChronosInterface
|
||||
{
|
||||
return static::instance($this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user