X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fevent.php;h=aa52fa361ca570f5605690fdbd0a3712387a719c;hb=10f2cde0b1d75fa023b00400162cb525e8719514;hp=41fb53ffe9afe91312c3d2fa4799bede44ea6091;hpb=436b8c845ea8fcc84f7f2bff71a7fa700d262a01;p=quix0rs-gnu-social.git diff --git a/lib/event.php b/lib/event.php index 41fb53ffe9..aa52fa361c 100644 --- a/lib/event.php +++ b/lib/event.php @@ -98,7 +98,7 @@ class Event { * on results of handlers. */ - public static function handle($name, $args=array()) { + public static function handle($name, array $args=array()) { $result = null; if (array_key_exists($name, Event::$_handlers)) { foreach (Event::$_handlers[$name] as $handler) {