summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOnno Vos <onno.vos@klarna.com>2015-03-09 12:57:23 +0100
committerOnno Vos <onno.vos@klarna.com>2015-03-09 12:57:23 +0100
commitc01257da1c03c1c5a16df82d358a6490898619e7 (patch)
tree355adabaa310cc60f0219ef90a0011d14a9d0bb3
parent3ba4d5c027c2afe4ac478ed90bec2e10914dc0cb (diff)
downloadKLogger-c01257da1c03c1c5a16df82d358a6490898619e7.zip
KLogger-c01257da1c03c1c5a16df82d358a6490898619e7.tar.gz
KLogger-c01257da1c03c1c5a16df82d358a6490898619e7.tar.bz2
Add array as type to in constructor
-rwxr-xr-xsrc/Logger.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Logger.php b/src/Logger.php
index f57d58f..74bbbee 100755
--- a/src/Logger.php
+++ b/src/Logger.php
@@ -107,7 +107,7 @@ class Logger extends AbstractLogger
* @internal param string $logFilePrefix The prefix for the log file name
* @internal param string $logFileExt The extension for the log file
*/
- public function __construct($logDirectory, $logLevelThreshold = LogLevel::DEBUG, $options = array())
+ public function __construct($logDirectory, $logLevelThreshold = LogLevel::DEBUG, array $options = array())
{
$this->logLevelThreshold = $logLevelThreshold;
$this->options = array_merge($this->options, $options);