Completed
Pull Request — master (#653)
by
unknown
06:52 queued 04:56
created
library/Mockery/Mock.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
      * Set expected method calls
177 177
      *
178 178
      * @param string $methodName,... one or many methods that are expected to be called in this mock
179
-     * @return \Mockery\Expectation
179
+     * @return CompositeExpectation
180 180
      */
181 181
     public function shouldReceive($methodName)
182 182
     {
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
      * current mock object. The partial may then be passed to a second process
306 306
      * to see if it fulfils the same (or exact same) contract as the original.
307 307
      *
308
-     * @param Closure $closure
308
+     * @param \Closure $closure
309 309
      */
310 310
     public function shouldExpect(\Closure $closure)
311 311
     {
@@ -705,6 +705,9 @@  discard block
 block discarded – undo
705 705
         }
706 706
     }
707 707
 
708
+    /**
709
+     * @return ReceivedMethodCalls
710
+     */
708 711
     protected function _mockery_getReceivedMethodCalls()
709 712
     {
710 713
         return $this->_mockery_receivedMethodCalls ?: $this->_mockery_receivedMethodCalls = new \Mockery\ReceivedMethodCalls();
@@ -808,7 +811,7 @@  discard block
 block discarded – undo
808 811
     }
809 812
 
810 813
     /**
811
-     * @return array
814
+     * @return MockInterface
812 815
      */
813 816
     private function getNonPublicMethods()
814 817
     {
Please login to merge, or discard this patch.