From 56482cff0aeb3e40de6c561d927c3bcec9d3cacd Mon Sep 17 00:00:00 2001 From: Artur Eshenbrener Date: Fri, 3 Oct 2014 18:31:02 +0400 Subject: [PATCH] Changed short array syntzx to long --- src/Composer/Autoload/AutoloadGenerator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Composer/Autoload/AutoloadGenerator.php b/src/Composer/Autoload/AutoloadGenerator.php index dd23cee8a..1d9f5b9c0 100644 --- a/src/Composer/Autoload/AutoloadGenerator.php +++ b/src/Composer/Autoload/AutoloadGenerator.php @@ -237,9 +237,9 @@ EOF; fclose($targetLoader); unset($sourceLoader, $targetLoader); - $this->eventDispatcher->dispatchScript(ScriptEvents::POST_AUTOLOAD_DUMP, $this->devMode, [ + $this->eventDispatcher->dispatchScript(ScriptEvents::POST_AUTOLOAD_DUMP, $this->devMode, array( 'optimize' => (bool) $scanPsr0Packages, - ]); + )); } public function buildPackageMap(InstallationManager $installationManager, PackageInterface $mainPackage, array $packages)