This commit is contained in:
Daniil Gentili 2017-01-25 11:52:16 +01:00
parent efe459b818
commit 4a51b4ad9b

View File

@ -32,7 +32,7 @@ class Logger
*/
public static function constructor(&$mode, &$optional = null, $prefix = '')
{
if ($mode == null) {
if ($mode === null) {
throw new Exception('No mode was specified!');
}
self::$mode = &$mode;