Jordi Boggiano 12 лет назад
Родитель
Сommit
eaa3c05509
2 измененных файлов с 12 добавлено и 12 удалено
  1. 4 4
      src/Monolog/Formatter/HtmlFormatter.php
  2. 8 8
      src/Monolog/Registry.php

+ 4 - 4
src/Monolog/Formatter/HtmlFormatter.php

@@ -46,8 +46,8 @@ class HtmlFormatter extends NormalizerFormatter
     /**
      * Creates an HTML table row
      *
-     * @param $th string Row header content
-     * @param string $td Row standard cell content
+     * @param  string $th Row header content
+     * @param  string $td Row standard cell content
      * @return string
      */
     private function addRow($th, $td = ' ')
@@ -61,8 +61,8 @@ class HtmlFormatter extends NormalizerFormatter
     /**
      * Create a HTML h1 tag
      *
-     * @param $title string Text to be in the h1
-     * @param $level integer Error level
+     * @param  string  $title Text to be in the h1
+     * @param  integer $level Error level
      * @return string
      */
     private function addTitle($title, $level)

+ 8 - 8
src/Monolog/Registry.php

@@ -47,9 +47,9 @@ class Registry
     /**
      * Adds new logging channel to the registry
      *
-     * @param Logger $logger Instance of the logging channel
-     * @param string $name Name of the logging channel ($logger->getName() by default)
-     * @param boolean $overwrite Overwrite instance in the registry if the given name already exists?
+     * @param  Logger                    $logger    Instance of the logging channel
+     * @param  string                    $name      Name of the logging channel ($logger->getName() by default)
+     * @param  boolean                   $overwrite Overwrite instance in the registry if the given name already exists?
      * @throws \InvalidArgumentException If $overwrite set to false and named Logger instance already exists
      */
     public static function addLogger(Logger $logger, $name = null, $overwrite = false)
@@ -90,8 +90,8 @@ class Registry
     /**
      * Gets Logger instance from the registry
      *
-     * @param string $name Name of the requested Logger instance
-     * @return Logger Requested instance of Logger
+     * @param  string                    $name Name of the requested Logger instance
+     * @return Logger                    Requested instance of Logger
      * @throws \InvalidArgumentException If named Logger instance is not in the registry
      */
     public static function getInstance($name)
@@ -106,9 +106,9 @@ class Registry
     /**
      * Gets Logger instance from the registry via static method call
      *
-     * @param string $name Name of the requested Logger instance
-     * @param array $arguments Arguments passed to static method call
-     * @return Logger Requested instance of Logger
+     * @param  string                    $name      Name of the requested Logger instance
+     * @param  array                     $arguments Arguments passed to static method call
+     * @return Logger                    Requested instance of Logger
      * @throws \InvalidArgumentException If named Logger instance is not in the registry
      */
     public static function __callStatic($name, $arguments)