make code-style phpinsight

This commit is contained in:
2024-01-14 20:50:36 +03:00
parent d4dde09086
commit aa98790290
17 changed files with 43 additions and 43 deletions

View File

@@ -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