From ce8a9aae5bfdd14b5779cdcb440c717d2dc983f8 Mon Sep 17 00:00:00 2001 From: Andreas Hennings Date: Fri, 26 Jul 2013 16:31:04 +0200 Subject: [PATCH] Slightly nicer heredoc in AutoloadGenerator::getIncludePathsFile() --- src/Composer/Autoload/AutoloadGenerator.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Composer/Autoload/AutoloadGenerator.php b/src/Composer/Autoload/AutoloadGenerator.php index b32606fce..6517a3f8a 100644 --- a/src/Composer/Autoload/AutoloadGenerator.php +++ b/src/Composer/Autoload/AutoloadGenerator.php @@ -276,7 +276,12 @@ EOF; return; } - $includePathsFile = <<getPathCode($filesystem, $basePath, $vendorPath, $path) . ",\n"; + } + + return <<getPathCode($filesystem, $basePath, $vendorPath, $path) . ",\n"; - } - - return $includePathsFile . ");\n"; } protected function getIncludeFilesFile(array $files, Filesystem $filesystem, $basePath, $vendorPath, $vendorPathCode, $appBaseDirCode)