From e074d183fd670f97d96d5d2518aa6d6fe314a528 Mon Sep 17 00:00:00 2001 From: Caleb White Date: Mon, 9 Dec 2024 20:52:50 -0600 Subject: [PATCH] fix: add explicit nullable type for PHP8.4 --- helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers.php b/helpers.php index 71b9d2a..60f8929 100644 --- a/helpers.php +++ b/helpers.php @@ -10,7 +10,7 @@ * * @return string|bool */ - function laravel_version(string $version = null) { + function laravel_version(?string $version = null) { $appVersion = app()->version(); if (is_null($version)) {