@@ -137,7 +137,6 @@ discard block |
||
137 | 137 | } |
138 | 138 | |
139 | 139 | /** |
140 | - * @param mixed $value, ... |
|
141 | 140 | * @return PHPUnit_Framework_MockObject_Builder_InvocationMocker |
142 | 141 | */ |
143 | 142 | public function willReturnOnConsecutiveCalls() |
@@ -193,7 +192,6 @@ discard block |
||
193 | 192 | } |
194 | 193 | |
195 | 194 | /** |
196 | - * @param mixed $argument, ... |
|
197 | 195 | * @return PHPUnit_Framework_MockObject_Builder_InvocationMocker |
198 | 196 | */ |
199 | 197 | public function with() |
@@ -237,7 +235,7 @@ discard block |
||
237 | 235 | } |
238 | 236 | |
239 | 237 | /** |
240 | - * @param PHPUnit_Framework_Constraint|string $constraint |
|
238 | + * @param string $constraint |
|
241 | 239 | * @return PHPUnit_Framework_MockObject_Builder_InvocationMocker |
242 | 240 | */ |
243 | 241 | public function method($constraint) |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | /** |
116 | 116 | * Returns a mock object for the specified class. |
117 | 117 | * |
118 | - * @param array|string $type |
|
118 | + * @param string $type |
|
119 | 119 | * @param array $methods |
120 | 120 | * @param array $arguments |
121 | 121 | * @param string $mockClassName |
@@ -858,7 +858,7 @@ discard block |
||
858 | 858 | * @param array $mockClassName |
859 | 859 | * @param bool $isInterface |
860 | 860 | * @param array $additionalInterfaces |
861 | - * @return array |
|
861 | + * @return string |
|
862 | 862 | */ |
863 | 863 | protected function generateMockClassDeclaration(array $mockClassName, $isInterface, array $additionalInterfaces = array()) |
864 | 864 | { |
@@ -22,10 +22,10 @@ |
||
22 | 22 | |
23 | 23 | /** |
24 | 24 | * @param string $className |
25 | - * @param string $methodname |
|
25 | + * @param string $methodName |
|
26 | 26 | * @param array $parameters |
27 | - * @param object $object |
|
28 | - * @param object $cloneObjects |
|
27 | + * @param stdClass $object |
|
28 | + * @param object stdClass |
|
29 | 29 | */ |
30 | 30 | public function __construct($className, $methodName, array $parameters, $object, $cloneObjects = false) |
31 | 31 | { |
@@ -59,7 +59,7 @@ |
||
59 | 59 | |
60 | 60 | /** |
61 | 61 | * @param string $className |
62 | - * @param string $methodname |
|
62 | + * @param string $methodName |
|
63 | 63 | * @param array $parameters |
64 | 64 | * @param bool $cloneObjects |
65 | 65 | */ |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | |
54 | 54 | /** |
55 | 55 | * @param mixed $id |
56 | - * @return bool|null |
|
56 | + * @return PHPUnit_Framework_MockObject_Builder_Match|null |
|
57 | 57 | */ |
58 | 58 | public function lookupId($id) |
59 | 59 | { |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | } |
146 | 146 | |
147 | 147 | /** |
148 | - * @return bool |
|
148 | + * @return boolean|null |
|
149 | 149 | */ |
150 | 150 | public function verify() |
151 | 151 | { |
@@ -57,7 +57,7 @@ |
||
57 | 57 | |
58 | 58 | /** |
59 | 59 | * @param PHPUnit_Framework_MockObject_Invocation $invocation |
60 | - * @return bool |
|
60 | + * @return boolean|null |
|
61 | 61 | */ |
62 | 62 | public function matches(PHPUnit_Framework_MockObject_Invocation $invocation) |
63 | 63 | { |
@@ -79,9 +79,6 @@ |
||
79 | 79 | * does the matcher will get the invoked() method called which should check |
80 | 80 | * if an expectation is met. |
81 | 81 | * |
82 | - * @param PHPUnit_Framework_MockObject_Invocation $invocation |
|
83 | - * Object containing information on a mocked or stubbed method which |
|
84 | - * was invoked. |
|
85 | 82 | * @return bool |
86 | 83 | * @throws PHPUnit_Framework_ExpectationFailedException |
87 | 84 | */ |
@@ -45,10 +45,7 @@ |
||
45 | 45 | * the matcher will get the invoked() method called which should check if an |
46 | 46 | * expectation is met. |
47 | 47 | * |
48 | - * @param PHPUnit_Framework_MockObject_Invocation $invocation |
|
49 | - * Object containing information on a mocked or stubbed method which |
|
50 | - * was invoked. |
|
51 | - * @return bool |
|
48 | + * @return boolean|null |
|
52 | 49 | */ |
53 | 50 | public function verify() |
54 | 51 | { |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | |
73 | 73 | /** |
74 | 74 | * @param PHPUnit_Framework_TestCase $testCase |
75 | - * @param array|string $type |
|
75 | + * @param string $type |
|
76 | 76 | */ |
77 | 77 | public function __construct(PHPUnit_Framework_TestCase $testCase, $type) |
78 | 78 | { |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | /** |
143 | 143 | * Specifies the subset of methods to mock. Default is to mock all of them. |
144 | 144 | * |
145 | - * @param array|null $methods |
|
145 | + * @param string[] $methods |
|
146 | 146 | * @return PHPUnit_Framework_MockObject_MockBuilder |
147 | 147 | */ |
148 | 148 | public function setMethods($methods) |