summaryrefslogtreecommitdiff
path: root/vendor/symfony/http-kernel/Bundle/Bundle.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/http-kernel/Bundle/Bundle.php')
-rw-r--r--vendor/symfony/http-kernel/Bundle/Bundle.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/vendor/symfony/http-kernel/Bundle/Bundle.php b/vendor/symfony/http-kernel/Bundle/Bundle.php
index cfa576c367..8dca09036b 100644
--- a/vendor/symfony/http-kernel/Bundle/Bundle.php
+++ b/vendor/symfony/http-kernel/Bundle/Bundle.php
@@ -11,12 +11,12 @@
namespace Symfony\Component\HttpKernel\Bundle;
+use Symfony\Component\Console\Application;
+use Symfony\Component\DependencyInjection\Container;
use Symfony\Component\DependencyInjection\ContainerAwareTrait;
use Symfony\Component\DependencyInjection\ContainerBuilder;
-use Symfony\Component\DependencyInjection\Container;
-use Symfony\Component\Console\Application;
-use Symfony\Component\Finder\Finder;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
+use Symfony\Component\Finder\Finder;
/**
* An implementation of BundleInterface that adds a few conventions
@@ -73,7 +73,7 @@ abstract class Bundle implements BundleInterface
if (null !== $extension) {
if (!$extension instanceof ExtensionInterface) {
- throw new \LogicException(sprintf('Extension %s must implement Symfony\Component\DependencyInjection\Extension\ExtensionInterface.', get_class($extension)));
+ throw new \LogicException(sprintf('Extension %s must implement Symfony\Component\DependencyInjection\Extension\ExtensionInterface.', \get_class($extension)));
}
// check naming convention
@@ -121,7 +121,7 @@ abstract class Bundle implements BundleInterface
{
if (null === $this->path) {
$reflected = new \ReflectionObject($this);
- $this->path = dirname($reflected->getFileName());
+ $this->path = \dirname($reflected->getFileName());
}
return $this->path;