Skip to content

Commit

Permalink
Merge pull request #122 from zuozp8/master
Browse files Browse the repository at this point in the history
optimize return phpDocs
  • Loading branch information
sergeyklay authored Feb 1, 2017
2 parents b7f5c50 + 713d143 commit 94e57bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/AspectMock/Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class Test {
* @param string|object $classOrObject
* @param array $params [ 'methodName' => 'returnValue' ]
* @throws \Exception
* @return Verifier Usually Proxy\ClassProxy|Proxy\InstanceProxy
* @return Verifier|Proxy\ClassProxy|Proxy\InstanceProxy
*/
public static function double($classOrObject, array $params = array())
{
Expand Down Expand Up @@ -155,7 +155,7 @@ public static function double($classOrObject, array $params = array())
* @api
* @param string|object $classOrObject
* @param array $params
* @return Verifier Usually Proxy\ClassProxy|Proxy\InstanceProxy
* @return Verifier|Proxy\ClassProxy|Proxy\InstanceProxy
*/
public static function spec($classOrObject, array $params = array())
{
Expand Down Expand Up @@ -189,7 +189,7 @@ public static function spec($classOrObject, array $params = array())
* @api
* @param string|object $classOrObject
* @param string[] $only
* @return Verifier Usually Proxy\ClassProxy|Proxy\InstanceProxy
* @return Verifier|Proxy\ClassProxy|Proxy\InstanceProxy
* @throws \Exception
*/
public static function methods($classOrObject, array $only = array())
Expand Down

0 comments on commit 94e57bb

Please sign in to comment.