@@ -10,9 +10,9 @@ |
||
10 | 10 | private function __construct() { |
11 | 11 | |
12 | 12 | $this->oLogger = new \Monolog\Logger("PHPUtils"); |
13 | - $this->oLogger->pushHandler( new \Monolog\Handler\StreamHandler("/tmp/PHPUtils.log") ); |
|
14 | - $this->oLogger->pushHandler( new \Monolog\Handler\ChromePHPHandler() ); |
|
15 | - $this->oLogger->pushHandler( new \Monolog\Handler\FirePHPHandler() ); |
|
13 | + $this->oLogger->pushHandler(new \Monolog\Handler\StreamHandler("/tmp/PHPUtils.log")); |
|
14 | + $this->oLogger->pushHandler(new \Monolog\Handler\ChromePHPHandler()); |
|
15 | + $this->oLogger->pushHandler(new \Monolog\Handler\FirePHPHandler()); |
|
16 | 16 | } |
17 | 17 | |
18 | 18 | public function log() {} |
@@ -19,7 +19,7 @@ |
||
19 | 19 | return call_user_func_array('parent::__construct', func_get_args()); |
20 | 20 | } |
21 | 21 | |
22 | - public function sendLog($type, $key, $value = null, array $backtrace ) { |
|
22 | + public function sendLog($type, $key, $value = null, array $backtrace) { |
|
23 | 23 | |
24 | 24 | $logger = $this->logger; |
25 | 25 | $retorno['type'] = $type; |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | |
16 | 16 | $array = new ArrayDebugger($this->base); |
17 | 17 | |
18 | - $array->setLogger(function($retorno) { |
|
18 | + $array->setLogger(function($retorno) { |
|
19 | 19 | $this->assertEquals($retorno['type'], ArrayDebugger::TYPE_GET); |
20 | 20 | }); |
21 | 21 | |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | |
42 | 42 | $array = new ArrayDebugger($this->base); |
43 | 43 | |
44 | - $array->setLogger(function($retorno) { |
|
44 | + $array->setLogger(function($retorno) { |
|
45 | 45 | $this->assertEquals($retorno['type'], ArrayDebugger::TYPE_SET); |
46 | 46 | }); |
47 | 47 | |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | |
68 | 68 | $array = new ArrayDebugger($this->base); |
69 | 69 | |
70 | - $array->setLogger(function($retorno) { |
|
70 | + $array->setLogger(function($retorno) { |
|
71 | 71 | $this->assertEquals($retorno['type'], ArrayDebugger::TYPE_EXISTS); |
72 | 72 | }); |
73 | 73 | |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | |
96 | 96 | $array = new ArrayDebugger($this->base); |
97 | 97 | |
98 | - $array->setLogger(function($retorno) { |
|
98 | + $array->setLogger(function($retorno) { |
|
99 | 99 | $this->assertEquals($retorno['type'], ArrayDebugger::TYPE_UNSET); |
100 | 100 | }); |
101 | 101 |