forked from eatvio/eatvio-infra
make code-style phpinsight
This commit is contained in:
@@ -23,7 +23,7 @@ class CalendarController extends Controller
|
||||
|
||||
public Carbon $gridEndsAt;
|
||||
|
||||
public function __construct(int $initialYear = null, int $initialMonth = null, int $weekStartsAt = null)
|
||||
public function __construct(?int $initialYear = null, ?int $initialMonth = null, ?int $weekStartsAt = null)
|
||||
{
|
||||
$this->weekStartsAt = $weekStartsAt ?? Carbon::MONDAY;
|
||||
$this->weekEndsAt = $this->weekStartsAt === Carbon::MONDAY
|
||||
|
||||
Reference in New Issue
Block a user