Completed
Pull Request — master (#3)
by Greg
01:48
created
src/Logger.php 3 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -174,6 +174,7 @@  discard block
 block discarded – undo
174 174
 
175 175
     /**
176 176
      * Interpolate and style the message, and then send it to the log.
177
+     * @param string $message
177 178
      */
178 179
     protected function doLog($outputStreamWrapper, $level, $message, $context)
179 180
     {
@@ -267,7 +268,7 @@  discard block
 block discarded – undo
267 268
      *
268 269
      * @param array $context
269 270
      *
270
-     * @return array
271
+     * @return string
271 272
      */
272 273
     private static function interpolationReplacements(array $context)
273 274
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,9 +6,7 @@
 block discarded – undo
6 6
 use Psr\Log\LogLevel;
7 7
 use Symfony\Component\Console\Output\OutputInterface;
8 8
 use Symfony\Component\Console\Output\ConsoleOutputInterface;
9
-
10 9
 use Symfony\Component\Console\Style\SymfonyStyle;
11
-use Symfony\Component\Console\Input\StringInput;
12 10
 
13 11
 /**
14 12
  * Replacement for Symfony\Component\Console\Logger\ConsoleLogger.
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -296,7 +296,7 @@
 block discarded – undo
296 296
     private static function interpolationKey($key)
297 297
     {
298 298
         if (ctype_alnum($key[0]) && ctype_alnum(substr($key, -1))) {
299
-            return '{' . $key . '}';
299
+            return '{'.$key.'}';
300 300
         }
301 301
         return $key;
302 302
     }
Please login to merge, or discard this patch.