From 42f4c44a69f0e384f0baa665990f29e935e1c0b0 Mon Sep 17 00:00:00 2001 From: dyszczo <krzysztof.dyszczyk@gmail.com> Date: Tue, 19 Nov 2019 16:31:07 +0100 Subject: [PATCH] change null->void in hook return type --- CHANGELOG.md | 4 ++++ src/Plugin/Hookable.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d501ec2..54c1464 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [1.4.1] - 2019-11-19 +### Fixed +- Invalid return type in Hookable interface + ## [1.4.0] - 2019-09-26 ### Added - SlimPlugin - abstract class with only most important plugin elements diff --git a/src/Plugin/Hookable.php b/src/Plugin/Hookable.php index 6028682..3077267 100644 --- a/src/Plugin/Hookable.php +++ b/src/Plugin/Hookable.php @@ -7,7 +7,7 @@ interface Hookable { /** * Init hooks (actions and filters). * - * @return null + * @return void */ public function hooks(); -- GitLab