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

Commit

Permalink
Merge pull request zendframework/zendframework#2153 from PHPGangsta/f…
Browse files Browse the repository at this point in the history
…ixes/phpdocClassesAndNamespaces

added @return where missing
  • Loading branch information
Maks3w committed Aug 11, 2012
2 parents 47dd13b + 65432c8 commit 8008d6f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ServiceManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ public function __construct(ConfigInterface $config = null)

/**
* @param $allowOverride
* @return ServiceManager
*/
public function setAllowOverride($allowOverride)
{
Expand Down Expand Up @@ -203,6 +204,7 @@ public function retrieveFromPeeringManagerFirst()
* @param string $name
* @param string $invokableClass
* @param bool $shared
* @return ServiceManager
* @throws Exception\InvalidServiceNameException
*/
public function setInvokableClass($name, $invokableClass, $shared = true)
Expand All @@ -227,6 +229,7 @@ public function setInvokableClass($name, $invokableClass, $shared = true)
* @param string $name
* @param string|FactoryInterface|callable $factory
* @param bool $shared
* @return ServiceManager
* @throws Exception\InvalidServiceNameException
*/
public function setFactory($name, $factory, $shared = true)
Expand Down Expand Up @@ -256,6 +259,7 @@ public function setFactory($name, $factory, $shared = true)
/**
* @param AbstractFactoryInterface|string $factory
* @param bool $topOfStack
* @return ServiceManager
* @throws Exception\InvalidArgumentException if the abstract factory is invalid
*/
public function addAbstractFactory($factory, $topOfStack = true)
Expand Down Expand Up @@ -857,6 +861,7 @@ protected function createFromAbstractFactory($canonicalName, $requestedName)
*
* @param string $className
* @param string $type
* @return bool
*/
protected static function isSubclassOf($className, $type)
{
Expand Down

0 comments on commit 8008d6f

Please sign in to comment.