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

@ -18,7 +18,7 @@ class ArticlesController extends Controller
/**
* Show all articles (with pagination).
*/
public function index(int $year = null, int $month = null): View
public function index(?int $year = null, ?int $month = null): View
{
$articles = Article::where('published', '1')
->date($year, $month)