@@ -24,7 +24,6 @@ |
||
| 24 | 24 | protected $reason; |
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | - * @param mixed $value |
|
| 28 | 27 | */ |
| 29 | 28 | public function __construct($reason = null) |
| 30 | 29 | { |
@@ -31,8 +31,8 @@ discard block |
||
| 31 | 31 | * @param Extractor $annotationExtractor |
| 32 | 32 | * @param Generator $asserterGenerator |
| 33 | 33 | * @param Manager $assertionManager |
| 34 | - * @param Closure $reflectionClassFactory |
|
| 35 | - * @param Closure $phpExtensionFactory |
|
| 34 | + * @param \Closure $reflectionClassFactory |
|
| 35 | + * @param \Closure $phpExtensionFactory |
|
| 36 | 36 | * @param Analyzer $analyzer |
| 37 | 37 | */ |
| 38 | 38 | public function __construct( |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | } |
| 86 | 86 | |
| 87 | 87 | /** |
| 88 | - * @param mixed $return |
|
| 88 | + * @param string $return |
|
| 89 | 89 | * |
| 90 | 90 | * @return \Cubiche\Core\Delegate\Delegate |
| 91 | 91 | */ |
@@ -95,7 +95,6 @@ discard block |
||
| 95 | 95 | } |
| 96 | 96 | |
| 97 | 97 | /** |
| 98 | - * @param mixed $return |
|
| 99 | 98 | * |
| 100 | 99 | * @return \Cubiche\Core\Delegate\Delegate |
| 101 | 100 | */ |
@@ -103,7 +103,7 @@ |
||
| 103 | 103 | ->then() |
| 104 | 104 | ->delegateCall($onRejected) |
| 105 | 105 | ->withArguments($reason) |
| 106 | - ->once() |
|
| 106 | + ->once() |
|
| 107 | 107 | ; |
| 108 | 108 | |
| 109 | 109 | $this->invalidActionTest($deferred); |
@@ -91,7 +91,7 @@ |
||
| 91 | 91 | ->when($deferred->resolve(0)) |
| 92 | 92 | ->then() |
| 93 | 93 | ->boolean($all->state()->equals(State::FULFILLED())) |
| 94 | - ->isTrue() |
|
| 94 | + ->isTrue() |
|
| 95 | 95 | ; |
| 96 | 96 | |
| 97 | 97 | $this |
@@ -179,8 +179,8 @@ |
||
| 179 | 179 | ->delegateCall($onFulfilledThen) |
| 180 | 180 | ->never() |
| 181 | 181 | ->delegateCall($onRejectedThen) |
| 182 | - ->withArguments($e) |
|
| 183 | - ->once(); |
|
| 182 | + ->withArguments($e) |
|
| 183 | + ->once(); |
|
| 184 | 184 | } |
| 185 | 185 | |
| 186 | 186 | /** |