removing array prefix (compatibility)

This commit is contained in:
Philipp Holzer 2019-01-28 11:35:08 +01:00
parent a5e12f53e8
commit 88e2cc9fa2
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5

View file

@ -29,7 +29,7 @@ class FriendicaProcessor implements ProcessorInterface
* @param array $skipClassesPartials An array of classes to skip during logging
* @param int $skipStackFramesCount If the logger should use information from other hierarchy levels of the call
*/
public function __construct($level = Logger::DEBUG, array $skipClassesPartials = array(), $skipStackFramesCount = 0)
public function __construct($level = Logger::DEBUG, $skipClassesPartials = array(), $skipStackFramesCount = 0)
{
$this->level = Logger::toMonologLevel($level);
$this->skipClassesPartials = array_merge(array('Monolog\\'), $skipClassesPartials);