Skip to content

[3x] fix Implicitly nullable parameters are deprecated.#568

Merged
taylorotwell merged 1 commit intolaravel:3.xfrom
GustavoSantarosa:3.x
Jun 28, 2025
Merged

[3x] fix Implicitly nullable parameters are deprecated.#568
taylorotwell merged 1 commit intolaravel:3.xfrom
GustavoSantarosa:3.x

Conversation

@GustavoSantarosa
Copy link

@GustavoSantarosa GustavoSantarosa commented Jun 26, 2025

I know Laravel 10 lost the support, but this is a slight adjustment so as not to generate more boring depreciation errors, please take advantage

ErrorException: Laravel\Sanctum\Guard::isValidBearerToken(): Implicitly marking parameter $token as nullable is deprecated, the explicit nullable type must be used instead in /var/task/vendor/laravel/sanctum/src/Guard.php:131
Stack trace:
#0 /var/task/vendor/laravel/framework/src/Illuminate/Support/helpers.php(445): Illuminate\Foundation\Bootstrap\HandleExceptions->{closure:Illuminate\Foundation\Bootstrap\HandleExceptions::handleDeprecationError():102}(Object(Illuminate\Log\Logger))

@taylorotwell taylorotwell merged commit d152354 into laravel:3.x Jun 28, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants