File tree 2 files changed +2
-2
lines changed
Bridge/Monolog/Handler/FingersCrossed 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public function isHandlerActivated(array $record)
42
42
$ isActivated
43
43
&& isset ($ record ['context ' ]['exception ' ])
44
44
&& $ record ['context ' ]['exception ' ] instanceof HttpException
45
- && $ record ['context ' ]['exception ' ]->getStatusCode () == 404
45
+ && 404 == $ record ['context ' ]['exception ' ]->getStatusCode ()
46
46
&& ($ request = $ this ->requestStack ->getMasterRequest ())
47
47
) {
48
48
return !preg_match ($ this ->blacklist , $ request ->getPathInfo ());
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ public function top($bit)
100
100
array_unshift ($ this ->bits , $ bit );
101
101
102
102
foreach ($ this ->labels as $ label => $ index ) {
103
- $ this ->labels [$ label ] += 1 ;
103
+ ++ $ this ->labels [$ label ];
104
104
}
105
105
106
106
return $ this ;
You can’t perform that action at this time.
0 commit comments