From 2e80d148f80fafb6cff708ecb01b6317473fcae8 Mon Sep 17 00:00:00 2001 From: Andreas Hennings Date: Mon, 29 Jul 2013 13:48:32 +0200 Subject: [PATCH] PSR-4 loader: Fix comments: PSR-0 related methods should have comments refering to PSR-0 and prefixes. PSR-4 related methods should have comments refering to PSR-4 and namespaces. --- src/Composer/Autoload/ClassLoader.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/Composer/Autoload/ClassLoader.php b/src/Composer/Autoload/ClassLoader.php index b44aa6013..ef3fc0575 100644 --- a/src/Composer/Autoload/ClassLoader.php +++ b/src/Composer/Autoload/ClassLoader.php @@ -92,10 +92,10 @@ class ClassLoader } /** - * Registers a set of PSR-4 directories for a given namespace, either - * appending or prepending to the ones previously set for this namespace. + * Registers a set of PSR-0 directories for a given prefix, either + * appending or prepending to the ones previously set for this prefix. * - * @param string $prefix The namespace, with trailing '\\'. + * @param string $prefix The prefix. * @param array|string $paths The location(s) of the classes * @param bool $prepend Prepend the location(s) */ @@ -137,7 +137,8 @@ class ClassLoader } /** - * Registers a set of classes, merging with any others previously set. + * Registers a set of PSR-4 directories for a given namespace, either + * appending or prepending to the ones previously set for this namespace. * * @param string $prefix The namespace, with trailing '\\'. * @param array|string $paths The location(s) of the classes @@ -182,7 +183,8 @@ class ClassLoader } /** - * Registers a set of classes, replacing any others previously set. + * Registers a set of PSR-0 directories for a given prefix, + * replacing any others previously set for this prefix. * * @param string $prefix The classes prefix * @param array|string $paths The location(s) of the classes