@@ -62,7 +62,7 @@ public function __construct($options = null)
6262 {
6363 // Allow extending classes to pre-set the prefix paths
6464 if (is_array ($ this ->prefixPaths )) {
65- // If prefixPaths is an array, pass the array to addPrefixPaths()
65+ // If prefixPaths is an array, pass the array to addPrefixPaths()
6666 // after first setting the property to an ArrayStack
6767 $ prefixPaths = $ this ->prefixPaths ;
6868 $ this ->prefixPaths = new ArrayStack ();
@@ -84,8 +84,8 @@ public function __construct($options = null)
8484
8585 /**
8686 * Add global static paths to merge at instantiation
87- *
88- * @param null|array|Traversable $paths
87+ *
88+ * @param null|array|Traversable $paths
8989 * @return void
9090 */
9191 public static function addStaticPaths ($ paths )
@@ -117,7 +117,7 @@ public static function addStaticPaths($paths)
117117 * Configure the prefix path plugin loader
118118 *
119119 * Proxies to {@link addPrefixPaths()}.
120- *
120+ *
121121 * @param array|\Traversable $options
122122 * @return PrefixPathLoader
123123 */
@@ -161,20 +161,20 @@ public function addPrefixPath($prefix, $path, $namespaced = true)
161161 /**
162162 * Add many prefix paths at once
163163 *
164- * Accepts an array or Traversable object of prefix (or namspace) / path
164+ * Accepts an array or Traversable object of prefix (or namspace) / path
165165 * pairs. The path may either be a string path, or an array or Traversable
166- * object with many paths to associate with this prefix. If adding many
167- * paths at once, please remember that the prefix/path pairs act as a LIFO
166+ * object with many paths to associate with this prefix. If adding many
167+ * paths at once, please remember that the prefix/path pairs act as a LIFO
168168 * stack, as does the stack of paths associated with any given prefix.
169- *
170- * @param array|Traversable $prefixPaths
169+ *
170+ * @param array|Traversable $prefixPaths
171171 * @return PrefixPathLoader
172172 */
173173 public function addPrefixPaths ($ prefixPaths )
174174 {
175175 if (!is_array ($ prefixPaths ) && !$ prefixPaths instanceof \Traversable) {
176176 throw new Exception \InvalidArgumentException (sprintf (
177- 'Expected an array or Traversable object; received %s ' ,
177+ 'Expected an array or Traversable object; received %s ' ,
178178 (is_object ($ prefixPaths ) ? get_class ($ prefixPaths ) : gettype ($ prefixPaths ))
179179 ));
180180 }
@@ -209,8 +209,8 @@ public function addPrefixPaths($prefixPaths)
209209 * Get path stack
210210 *
211211 * @param string $prefix
212- * @return false|ArrayStack|SplStack False if prefix does not exist,
213- * SplStack otherwise; if no prefix provide, ArrayStack of prefix/SplStack
212+ * @return false|ArrayStack|SplStack False if prefix does not exist,
213+ * SplStack otherwise; if no prefix provide, ArrayStack of prefix/SplStack
214214 * pairs
215215 */
216216 public function getPaths ($ prefix = null )
@@ -399,7 +399,7 @@ public function load($name)
399399 *
400400 * Returns an array of plugin name/class name pairs, suitable for seeding
401401 * a PluginClassLoader instance.
402- *
402+ *
403403 * @return array
404404 */
405405 public function getPluginMap ()
@@ -414,7 +414,7 @@ public function getPluginMap()
414414 * a ClassMapAutoloader instance. Note: filenames will be absolute paths
415415 * based on the operating system on which the class map is retrieved. You
416416 * may need to alter the paths to be relative to any filesystem.
417- *
417+ *
418418 * @return array
419419 */
420420 public function getClassMap ()
@@ -437,7 +437,7 @@ protected function formatName($name)
437437 * Format prefix for internal use
438438 *
439439 * @param string $prefix
440- * @param bool $namespaced Whether the paths are namespaced or prefixed;
440+ * @param bool $namespaced Whether the paths are namespaced or prefixed;
441441 * namespaced by default
442442 * @return string
443443 */
@@ -470,10 +470,10 @@ protected function formatPrefix($prefix, $namespaced = true)
470470 /**
471471 * Format a path for comparisons
472472 *
473- * Strips trailing directory separator(s), if any, and then appends
473+ * Strips trailing directory separator(s), if any, and then appends
474474 * system directory separator.
475- *
476- * @param string $path
475+ *
476+ * @param string $path
477477 * @return string
478478 */
479479 protected function formatPath ($ path )
0 commit comments