Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

fix add 2 space after @param in Zend\Loader #2422

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions library/Zend/Loader/AutoloaderFactory.php
Expand Up @@ -127,7 +127,7 @@ public static function getRegisteredAutoloaders()
/**
* Retrieves an autoloader by class name
*
* @param string $class
* @param string $class
* @return SplAutoloader
* @throws Exception\InvalidArgumentException for non-registered class
*/
Expand Down Expand Up @@ -204,8 +204,8 @@ protected static function getStandardAutoloader()
* @see https://bugs.php.net/bug.php?id=53727
* @see https://github.com/zendframework/zf2/pull/1807
*
* @param string $className
* @param string $type
* @param string $className
* @param string $type
* @return bool
*/
protected static function isSubclassOf($className, $type)
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Loader/ClassMapAutoloader.php
Expand Up @@ -195,7 +195,7 @@ protected function loadMapFromFile($location)
* Resolve the real_path() to a file within a phar.
*
* @see https://bugs.php.net/bug.php?id=52769
* @param string $path
* @param string $path
* @return string
*/
public static function realPharPath($path)
Expand Down
16 changes: 8 additions & 8 deletions library/Zend/Loader/ModuleAutoloader.php
Expand Up @@ -161,8 +161,8 @@ public function autoload($class)
/**
* loadModuleFromDir
*
* @param string $dirPath
* @param string $class
* @param string $dirPath
* @param string $class
* @return mixed
* False [if unable to load $class]
* get_class($class) [if $class is successfully loaded]
Expand All @@ -184,8 +184,8 @@ protected function loadModuleFromDir($dirPath, $class)
/**
* loadModuleFromPhar
*
* @param string $pharPath
* @param string $class
* @param string $pharPath
* @param string $class
* @return mixed
* False [if unable to load $class]
* get_class($class) [if $class is successfully loaded]
Expand Down Expand Up @@ -261,7 +261,7 @@ public function unregister()
/**
* registerPaths
*
* @param array|Traversable $paths
* @param array|Traversable $paths
* @throws \InvalidArgumentException
* @return ModuleAutoloader
*/
Expand Down Expand Up @@ -289,8 +289,8 @@ public function registerPaths($paths)
/**
* registerPath
*
* @param string $path
* @param bool|string $moduleName
* @param string $path
* @param bool|string $moduleName
* @throws \InvalidArgumentException
* @return ModuleAutoloader
*/
Expand Down Expand Up @@ -325,7 +325,7 @@ public function getPaths()
/**
* Returns the base module name from the path to a phar
*
* @param string $pharPath
* @param string $pharPath
* @return string
*/
protected function pharFileToModuleName($pharPath)
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Loader/PluginClassLoader.php
Expand Up @@ -147,7 +147,7 @@ public function registerPlugins($map)
/**
* Unregister a short name lookup
*
* @param mixed $shortName
* @param mixed $shortName
* @return PluginClassLoader
*/
public function unregisterPlugin($shortName)
Expand Down
2 changes: 1 addition & 1 deletion library/Zend/Loader/PluginClassLocator.php
Expand Up @@ -32,7 +32,7 @@ public function registerPlugin($shortName, $className);
/**
* Unregister a short name lookup
*
* @param mixed $shortName
* @param mixed $shortName
* @return void
*/
public function unregisterPlugin($shortName);
Expand Down
4 changes: 2 additions & 2 deletions library/Zend/Loader/StandardAutoloader.php
Expand Up @@ -271,8 +271,8 @@ protected function transformClassNameToFilename($class, $directory)
/**
* Load a class, based on its type (namespaced or prefixed)
*
* @param string $class
* @param string $type
* @param string $class
* @param string $type
* @return bool|string
* @throws Exception\InvalidArgumentException
*/
Expand Down