Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Fatal error: A function with return type must return a value #5

Open
1 of 3 tasks
asgraf opened this issue Feb 22, 2022 · 0 comments
Open
1 of 3 tasks

PHP Fatal error: A function with return type must return a value #5

asgraf opened this issue Feb 22, 2022 · 0 comments

Comments

@asgraf
Copy link
Contributor

asgraf commented Feb 22, 2022

This is a (multiple allowed):

  • bug

  • enhancement

  • question

  • CakePHP Version: 4.3.5

What you did

I'm in progress of migrating CakePHP 3.x app into CakePHP 4.x
I have updated composer.json with:

"holt59/cakephp4-bootstrap-helpers": "^3.0",

What happened

PHP error message:

Fatal error: A function with return type must return a value (did you mean "return null;" instead of "return;"?) in ./vendor/holt59/cakephp4-bootstrap-helpers/src/View/Helper/FlashHelper.php on line 37

What you expected to happen

No errors :)

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

No branches or pull requests

1 participant