mirror of
https://github.com/getgrav/grav.git
synced 2025-12-05 15:29:57 +01:00
Ignore phpstan error
This commit is contained in:
@@ -1695,6 +1695,6 @@ class GravExtension extends AbstractExtension implements GlobalsInterface
|
|||||||
throw new RuntimeError('Twig |filter("' . $arrow . '") is not allowed.');
|
throw new RuntimeError('Twig |filter("' . $arrow . '") is not allowed.');
|
||||||
}
|
}
|
||||||
|
|
||||||
return \twig_array_filter($env, $array, $arrow);
|
return twig_array_filter($env, $array, $arrow);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -170,3 +170,6 @@ parameters:
|
|||||||
-
|
-
|
||||||
message: '#typehint with deprecated interface#'
|
message: '#typehint with deprecated interface#'
|
||||||
path: '*/system/src/Twig/DeferredExtension/DeferredNodeVisitorCompat.php'
|
path: '*/system/src/Twig/DeferredExtension/DeferredNodeVisitorCompat.php'
|
||||||
|
-
|
||||||
|
message: '#Function twig_array_filter not found#'
|
||||||
|
path: '*/system/src/Grav/Common/Twig/Extension/GravExtension.php'
|
||||||
|
|||||||
Reference in New Issue
Block a user