Преглед на файлове

[MonologBundle] Fixed CS

Christophe Coevoet преди 14 години
родител
ревизия
0704bc348b
променени са 1 файла, в които са добавени 12 реда и са изтрити 12 реда
  1. 12 12
      src/Symfony/Bundle/MonologBundle/Logger/FirePHPHandler.php

+ 12 - 12
src/Symfony/Bundle/MonologBundle/Logger/FirePHPHandler.php

@@ -33,18 +33,6 @@ class FirePHPHandler extends BaseFirePHPHandler
      */
     private $response;
 
-    /**
-     * {@inheritDoc}
-     */
-    protected function sendHeader($header, $content)
-    {
-        if ($this->response) {
-            $this->response->headers->set($header, $content);
-        } else {
-            $this->headers[$header] = $content;
-        }
-    }
-
     /**
      * Adds the headers to the response once it's created
      */
@@ -60,4 +48,16 @@ class FirePHPHandler extends BaseFirePHPHandler
         }
         $this->headers = array();
     }
+
+    /**
+     * {@inheritDoc}
+     */
+    protected function sendHeader($header, $content)
+    {
+        if ($this->response) {
+            $this->response->headers->set($header, $content);
+        } else {
+            $this->headers[$header] = $content;
+        }
+    }
 }