Skip to content

FlashHelper incompatible with CakePHP 4 #10

@asgraf

Description

@asgraf

This is a (multiple allowed):

  • bug

  • enhancement

  • question

  • PHP Version: 8.1

  • CakePHP Version: 4.4.3

  • Plugin Version/Branch: v4.x-dev

What you did

Tried to load FlashHelper

What happened

Fatal error: Declaration of Bootstrap\View\Helper\FlashHelper::render($key = 'flash', array $options = []) must be compatible with Cake\View\Helper\FlashHelper::render(string $key = 'flash', array $options = []): ?string in /application/vendor/holt59/cakephp4-bootstrap-helpers/src/View/Helper/FlashHelper.php on line 33

What you expected to happen

No Fatal Errors

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions