1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 13:16:39 +02:00

Filled second argument for __callStatic()

This commit is contained in:
Tomáš Tatarko
2013-11-13 21:37:04 +01:00
parent c9f8c405ab
commit e63dff26ea

View File

@@ -159,7 +159,7 @@ class Logger implements LoggerInterface
* @return Monolog\Logger
* @throws InvalidArgumentException If logging channel has not been created
*/
public static function __callStatic($name)
public static function __callStatic($name, $arguments)
{
if(!isset(self::$loggerInstances[$name])) {
throw new \InvalidArgumentException('The requested logging channel has not been created yet');