fixed CS
This commit is contained in:
parent
07d25709a9
commit
8072eed4bf
@ -42,7 +42,7 @@ class NotFoundActivationStrategy extends ErrorLevelActivationStrategy
|
|||||||
$isActivated
|
$isActivated
|
||||||
&& isset($record['context']['exception'])
|
&& isset($record['context']['exception'])
|
||||||
&& $record['context']['exception'] instanceof HttpException
|
&& $record['context']['exception'] instanceof HttpException
|
||||||
&& $record['context']['exception']->getStatusCode() == 404
|
&& 404 == $record['context']['exception']->getStatusCode()
|
||||||
&& ($request = $this->requestStack->getMasterRequest())
|
&& ($request = $this->requestStack->getMasterRequest())
|
||||||
) {
|
) {
|
||||||
return !preg_match($this->blacklist, $request->getPathInfo());
|
return !preg_match($this->blacklist, $request->getPathInfo());
|
||||||
|
@ -100,7 +100,7 @@ class Command
|
|||||||
array_unshift($this->bits, $bit);
|
array_unshift($this->bits, $bit);
|
||||||
|
|
||||||
foreach ($this->labels as $label => $index) {
|
foreach ($this->labels as $label => $index) {
|
||||||
$this->labels[$label] += 1;
|
++$this->labels[$label];
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
|
Reference in New Issue
Block a user