1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-05 12:47:39 +02:00
This commit is contained in:
Jordi Boggiano
2013-11-25 14:25:05 +01:00
parent 193e627a0b
commit eaa3c05509
2 changed files with 12 additions and 12 deletions

View File

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

View File

@@ -47,9 +47,9 @@ 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 $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
*/ */
public static function addLogger(Logger $logger, $name = null, $overwrite = false) public static function addLogger(Logger $logger, $name = null, $overwrite = false)
@@ -90,8 +90,8 @@ class Registry
/** /**
* Gets Logger instance from the registry * Gets Logger instance from the registry
* *
* @param string $name Name of the requested Logger instance * @param string $name Name of the requested Logger instance
* @return Logger Requested instance of Logger * @return Logger Requested instance of Logger
* @throws \InvalidArgumentException If named Logger instance is not in the registry * @throws \InvalidArgumentException If named Logger instance is not in the registry
*/ */
public static function getInstance($name) public static function getInstance($name)
@@ -106,9 +106,9 @@ class Registry
/** /**
* Gets Logger instance from the registry via static method call * Gets Logger instance from the registry via static method call
* *
* @param string $name Name of the requested Logger instance * @param string $name Name of the requested Logger instance
* @param array $arguments Arguments passed to static method call * @param array $arguments Arguments passed to static method call
* @return Logger Requested instance of Logger * @return Logger Requested instance of Logger
* @throws \InvalidArgumentException If named Logger instance is not in the registry * @throws \InvalidArgumentException If named Logger instance is not in the registry
*/ */
public static function __callStatic($name, $arguments) public static function __callStatic($name, $arguments)