@@ -306,7 +306,7 @@ discard block |
||
| 306 | 306 | * current mock object. The partial may then be passed to a second process |
| 307 | 307 | * to see if it fulfils the same (or exact same) contract as the original. |
| 308 | 308 | * |
| 309 | - * @param Closure $closure |
|
| 309 | + * @param \Closure $closure |
|
| 310 | 310 | */ |
| 311 | 311 | public function shouldExpect(\Closure $closure) |
| 312 | 312 | { |
@@ -360,7 +360,7 @@ discard block |
||
| 360 | 360 | * Iterate across all expectation directors and validate each |
| 361 | 361 | * |
| 362 | 362 | * @throws \Mockery\CountValidator\Exception |
| 363 | - * @return void |
|
| 363 | + * @return boolean|null |
|
| 364 | 364 | */ |
| 365 | 365 | public function mockery_verify() |
| 366 | 366 | { |
@@ -703,6 +703,9 @@ discard block |
||
| 703 | 703 | } |
| 704 | 704 | } |
| 705 | 705 | |
| 706 | + /** |
|
| 707 | + * @return ReceivedMethodCalls |
|
| 708 | + */ |
|
| 706 | 709 | protected function _mockery_getReceivedMethodCalls() |
| 707 | 710 | { |
| 708 | 711 | return $this->_mockery_receivedMethodCalls ?: $this->_mockery_receivedMethodCalls = new \Mockery\ReceivedMethodCalls(); |
@@ -806,7 +809,7 @@ discard block |
||
| 806 | 809 | } |
| 807 | 810 | |
| 808 | 811 | /** |
| 809 | - * @return array |
|
| 812 | + * @return MockInterface |
|
| 810 | 813 | */ |
| 811 | 814 | private function getNonPublicMethods() |
| 812 | 815 | { |
@@ -50,6 +50,7 @@ discard block |
||
| 50 | 50 | /** |
| 51 | 51 | * Allows additional methods to be mocked that do not explicitly exist on mocked class |
| 52 | 52 | * @param String $method name of the method to be mocked |
| 53 | + * @return Mock |
|
| 53 | 54 | */ |
| 54 | 55 | public function shouldAllowMockingMethod($method); |
| 55 | 56 | |
@@ -89,7 +90,7 @@ discard block |
||
| 89 | 90 | /** |
| 90 | 91 | * @param null|string $method |
| 91 | 92 | * @param null $args |
| 92 | - * @return mixed |
|
| 93 | + * @return ExpectationBuilder|null |
|
| 93 | 94 | */ |
| 94 | 95 | public function shouldNotHaveReceived($method, $args = null); |
| 95 | 96 | |
@@ -130,6 +131,7 @@ discard block |
||
| 130 | 131 | * |
| 131 | 132 | * @param mixed $group |
| 132 | 133 | * @param int $order |
| 134 | + * @return void |
|
| 133 | 135 | */ |
| 134 | 136 | public function mockery_setGroup($group, $order); |
| 135 | 137 | |
@@ -144,6 +146,7 @@ discard block |
||
| 144 | 146 | * Set current ordered number |
| 145 | 147 | * |
| 146 | 148 | * @param int $order |
| 149 | + * @return integer |
|
| 147 | 150 | */ |
| 148 | 151 | public function mockery_setCurrentOrder($order); |
| 149 | 152 | |