refactoring of AbListener
This commit is contained in:
parent
3540f42c2d
commit
a16f4f998e
|
@ -85,10 +85,6 @@ class AbListener
|
||||||
|
|
||||||
protected function supports(Request $request): bool
|
protected function supports(Request $request): bool
|
||||||
{
|
{
|
||||||
if (!$request->attributes->has('_node')) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!$this->node) {
|
if (!$this->node) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue