summaryrefslogtreecommitdiff
path: root/vendor/symfony/http-kernel/DependencyInjection/AddAnnotatedClassesToCachePass.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/http-kernel/DependencyInjection/AddAnnotatedClassesToCachePass.php')
-rw-r--r--vendor/symfony/http-kernel/DependencyInjection/AddAnnotatedClassesToCachePass.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/symfony/http-kernel/DependencyInjection/AddAnnotatedClassesToCachePass.php b/vendor/symfony/http-kernel/DependencyInjection/AddAnnotatedClassesToCachePass.php
index b1ecebdc96..645e8f30ff 100644
--- a/vendor/symfony/http-kernel/DependencyInjection/AddAnnotatedClassesToCachePass.php
+++ b/vendor/symfony/http-kernel/DependencyInjection/AddAnnotatedClassesToCachePass.php
@@ -13,8 +13,8 @@ namespace Symfony\Component\HttpKernel\DependencyInjection;
use Composer\Autoload\ClassLoader;
use Symfony\Component\Debug\DebugClassLoader;
-use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
+use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Kernel;
/**
@@ -96,7 +96,7 @@ class AddAnnotatedClassesToCachePass implements CompilerPassInterface
$classes = array();
foreach (spl_autoload_functions() as $function) {
- if (!is_array($function)) {
+ if (!\is_array($function)) {
continue;
}
@@ -104,7 +104,7 @@ class AddAnnotatedClassesToCachePass implements CompilerPassInterface
$function = $function[0]->getClassLoader();
}
- if (is_array($function) && $function[0] instanceof ClassLoader) {
+ if (\is_array($function) && $function[0] instanceof ClassLoader) {
$classes += array_filter($function[0]->getClassMap());
}
}