Avoid 'message' in log context in AuthManager
[lhc/web/wiklou.git] / includes / libs / ScopedCallback.php
index 1ec9eaa..96075aa 100644 (file)
@@ -36,7 +36,7 @@ class ScopedCallback {
         * @param array $params Callback arguments (since 1.25)
         * @throws Exception
         */
-       public function __construct( $callback, array $params = array() ) {
+       public function __construct( $callback, array $params = [] ) {
                if ( $callback !== null && !is_callable( $callback ) ) {
                        throw new InvalidArgumentException( "Provided callback is not valid." );
                }