Update composer dependencies

This commit is contained in:
Jonny Barnes 2023-12-06 20:11:41 +00:00
parent 58c179bef2
commit 3c0c375fbb
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
11 changed files with 127 additions and 122 deletions

View file

@ -107,7 +107,7 @@ class Article extends Model
/**
* Scope a query to only include articles from a particular year/month.
*/
public function scopeDate(Builder $query, int $year = null, int $month = null): Builder
public function scopeDate(Builder $query, ?int $year = null, ?int $month = null): Builder
{
if ($year === null) {
return $query;