diff --git a/core/lib/Drupal/Core/DrupalKernel.php b/core/lib/Drupal/Core/DrupalKernel.php index 8d6e28c1cc4a43749bfad0ab5d7f5cfe7d3bf1c3..016011966d7af183ea8548d487af9551a91bbfb6 100644 --- a/core/lib/Drupal/Core/DrupalKernel.php +++ b/core/lib/Drupal/Core/DrupalKernel.php @@ -162,7 +162,7 @@ class DrupalKernel implements DrupalKernelInterface, TerminableInterface { */ public function __construct($environment, ClassLoader $class_loader, $allow_dumping = TRUE) { $this->environment = $environment; - $this->booted = false; + $this->booted = FALSE; $this->classLoader = $class_loader; $this->allowDumping = $allow_dumping; } @@ -189,7 +189,7 @@ public function shutdown() { return; } $this->booted = FALSE; - $this->container = null; + $this->container = NULL; } /** @@ -274,7 +274,7 @@ public function terminate(Request $request, Response $response) { /** * {@inheritdoc} */ - public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true) { + public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = TRUE) { if (FALSE === $this->booted) { $this->boot(); } @@ -510,7 +510,7 @@ protected function buildContainer() { $path = DRUPAL_ROOT . '/core/lib/Drupal/' . $parent_directory; foreach (new \DirectoryIterator($path) as $component) { if (!$component->isDot() && is_dir($component->getPathname() . '/Plugin')) { - $namespaces['Drupal\\' . $parent_directory .'\\' . $component->getFilename()] = DRUPAL_ROOT . '/core/lib'; + $namespaces['Drupal\\' . $parent_directory . '\\' . $component->getFilename()] = DRUPAL_ROOT . '/core/lib'; } } }