diff options
| author | 2024-11-21 08:22:13 +0100 | |
|---|---|---|
| committer | 2024-11-21 08:22:13 +0100 | |
| commit | 278181572e56283827aac10a66bb554f4b57b0a1 (patch) | |
| tree | 2e36cf9ff87a4af78536527224db46e5b4d35f10 /lib/Minz/ExtensionManager.php | |
| parent | 0f4bcdad9b3bde1cf7724069e774eff198a7169c (diff) | |
Add extension hook simplepie_after_init (#7007)
* Add extension hook simplepie_after_init
fix https://github.com/FreshRSS/FreshRSS/issues/7006
* Add documentation note
* fix doc get_headers
* Syntax void
* Forgotten code
Diffstat (limited to 'lib/Minz/ExtensionManager.php')
| -rw-r--r-- | lib/Minz/ExtensionManager.php | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/Minz/ExtensionManager.php b/lib/Minz/ExtensionManager.php index b3756372e..976dddb82 100644 --- a/lib/Minz/ExtensionManager.php +++ b/lib/Minz/ExtensionManager.php @@ -90,10 +90,14 @@ final class Minz_ExtensionManager { 'list' => array(), 'signature' => 'NoneToNone', ), - 'simplepie_before_init' => array( // function($simplePie, $feed) -> none - 'list' => array(), + 'simplepie_after_init' => [ // function(\SimplePie\SimplePie $simplePie, FreshRSS_Feed $feed, bool $result): void + 'list' => [], 'signature' => 'PassArguments', - ), + ], + 'simplepie_before_init' => [ // function(\SimplePie\SimplePie $simplePie, FreshRSS_Feed $feed): void + 'list' => [], + 'signature' => 'PassArguments', + ], ]; /** Remove extensions and hooks from a previous initialisation */ |
