Ignore phpstan error

This commit is contained in:
Matias Griese
2022-06-14 20:08:04 +03:00
parent 31920bb153
commit 62c4f3c768
2 changed files with 4 additions and 1 deletions

View File

@@ -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);
} }
} }

View File

@@ -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'