Completed
Branch master (281476)
by Bastien
01:41
created
Processors/Monolog/DeamonLoggerExtraWebProcessor.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
128 128
     }
129 129
 
130 130
     /**
131
-     * @param $extraInfo
131
+     * @param string $extraInfo
132 132
      *
133 133
      * @return bool
134 134
      */
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     {
41 41
         $record = parent::__invoke($record);
42 42
 
43
-        if($this->container === null){
43
+        if ($this->container === null) {
44 44
             return $record;
45 45
         }
46 46
 
@@ -78,8 +78,8 @@  discard block
 block discarded – undo
78 78
     {
79 79
         if (null !== $request = $this->container->get('request_stack')->getCurrentRequest()
80 80
         ) {
81
-            if($request instanceof Request){
82
-                if($this->configShowExtraInfo('url')) {
81
+            if ($request instanceof Request) {
82
+                if ($this->configShowExtraInfo('url')) {
83 83
                     $record['extra']['url'] = $request->getRequestUri();
84 84
                 }
85 85
                 if ($this->configShowExtraInfo('route')) {
@@ -122,8 +122,8 @@  discard block
 block discarded – undo
122 122
             $record['extra']['global_channel'] = $record['channel'];
123 123
         }
124 124
 
125
-        if($this->channelPrefix !== null) {
126
-            $record['channel'] = sprintf('%s.%s', $this->channelPrefix,$record['channel']);
125
+        if ($this->channelPrefix !== null) {
126
+            $record['channel'] = sprintf('%s.%s', $this->channelPrefix, $record['channel']);
127 127
         }
128 128
     }
129 129
 
Please login to merge, or discard this patch.