Skip to content

Set built rules through Event::setResult() instead of returning from method#66

Open
ravage84 wants to merge 1 commit intoCakeDC:3.next-cake5from
ravage84:patch-1
Open

Set built rules through Event::setResult() instead of returning from method#66
ravage84 wants to merge 1 commit intoCakeDC:3.next-cake5from
ravage84:patch-1

Conversation

@ravage84
Copy link
Contributor

Fixes:

Since 5.2.0: Returning a value from event listeners is deprecated. Use `$event->setResult()` instead in `Model.buildRules` of `CakeDC\Enum\Model\Behavior\EnumBehavior::buildRules()`

…method

Fixes
```
Since 5.2.0: Returning a value from event listeners is deprecated. Use `$event->setResult()` instead in `Model.buildRules` of `CakeDC\Enum\Model\Behavior\EnumBehavior::buildRules()`
```
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.

1 participant