spatie / laravel-ray

Debug with Ray to fix problems faster in Laravel apps
https://myray.app
MIT License
291 stars 64 forks source link

Please add some native return type declarations #294

Closed summercms closed 1 year ago

summercms commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

Seeing the following error:

Method "Illuminate\Support\ServiceProvider::register()" might add "void" as a native return type declaration in the future. Do the same in child class "Spatie\LaravelRay\RayServiceProvider" now to avoid errors or add an explicit @return annotation to suppress this message.

Versions Ray version (you can see this in "About Ray"): 1.36.1

You can use composer show to get the version numbers of:

PHP version: 8.0 and higher Laravel version: 9.x-dev

To Reproduce Steps to reproduce the behavior:

Using symfony/phpunit-bridge with phpunit to run tests.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

See here: https://wouterj.nl/2021/09/symfony-6-native-typing

spatie-bot commented 1 year ago

Dear contributor,

because this issue seems to be inactive for quite some time now, I've automatically closed it. If you feel this issue deserves some attention from my human colleagues feel free to reopen it.