Skip to content

Conversation

@rstefanic
Copy link
Contributor

@rstefanic rstefanic commented Dec 26, 2023

Just a small PHPDoc fix. I ran into this using PHPStan with rule level 5 in a project that uses Jetstream.

The $input parameter is typed as an array<string, string>, but $input['photo'] is an UploadedFile and not a string.

The `$input` parameter is typed as an `array<string, string>`, but `$input['photo']` is an `UploadedFile` and not a `string`.
@taylorotwell taylorotwell merged commit fb22f2d into laravel:4.x Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants