Merge "Reset scoped session for upload jobs after deferred updates"
[lhc/web/wiklou.git] / includes / libs / eventrelayer / EventRelayer.php
old mode 100755 (executable)
new mode 100644 (file)
index a3d214f..c385c38
@@ -26,7 +26,8 @@ abstract class EventRelayer {
        /**
         * @param array $params
         */
-       public function __construct( array $params ) {}
+       public function __construct( array $params ) {
+       }
 
        /**
         * @param string $channel
@@ -34,7 +35,7 @@ abstract class EventRelayer {
         * @return bool Success
         */
        final public function notify( $channel, $event ) {
-               return $this->doNotify( $channel, array( $event ) );
+               return $this->doNotify( $channel, [ $event ] );
        }
 
        /**