Merge "Http::getProxy() method to get proxy configuration"
[lhc/web/wiklou.git] / includes / debug / logger / monolog / BufferHandler.php
index ea286b3..331b718 100644 (file)
@@ -26,7 +26,7 @@ use DeferredUpdates;
 use Monolog\Handler\BufferHandler as BaseBufferHandler;
 
 /**
- * Updates the Monolog BufferHandler to use DeferredUpdates rather
+ * Updates \Monolog\Handler\BufferHandler to use DeferredUpdates rather
  * than register_shutdown_function. On supported platforms this will
  * use register_postsend_function or fastcgi_finish_request() to delay
  * until after the request has shutdown and we are no longer delaying
@@ -38,10 +38,9 @@ class BufferHandler extends BaseBufferHandler {
         */
        public function handle( array $record ) {
                if ( !$this->initialized ) {
-                       DeferredUpdates::addCallableUpdate( array( $this, 'close' ) );
+                       DeferredUpdates::addCallableUpdate( [ $this, 'close' ] );
                        $this->initialized = true;
                }
                return parent::handle( $record );
        }
 }
-