Просмотр исходного кода

Merge pull request #294 from staabm/patch-4

fix phpdoc in Registry
Jordi Boggiano 12 лет назад
Родитель
Сommit
f94f37f0ae
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/Monolog/Registry.php

+ 1 - 1
src/Monolog/Registry.php

@@ -48,7 +48,7 @@ class Registry
      * Adds new logging channel to the registry
      * Adds new logging channel to the registry
      *
      *
      * @param  Logger                    $logger    Instance of the logging channel
      * @param  Logger                    $logger    Instance of the logging channel
-     * @param  string                    $name      Name of the logging channel ($logger->getName() by default)
+     * @param  string|null               $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  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
      * @throws \InvalidArgumentException If $overwrite set to false and named Logger instance already exists
      */
      */