Completed
Pull Request — master (#288)
by James
02:10
created
src/Prophecy/Call/CallCenter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -126,6 +126,9 @@
 block discarded – undo
126 126
         );
127 127
     }
128 128
 
129
+    /**
130
+     * @param string $methodName
131
+     */
129 132
     private function createUnexpectedCallException(ObjectProphecy $prophecy, $methodName,
130 133
                                                    array $arguments)
131 134
     {
Please login to merge, or discard this patch.
src/Prophecy/Prophecy/MethodProphecy.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      *
40 40
      * @param ObjectProphecy                        $objectProphecy
41 41
      * @param string                                $methodName
42
-     * @param null|Argument\ArgumentsWildcard|array $arguments
42
+     * @param Argument\ArgumentsWildcard $arguments
43 43
      *
44 44
      * @throws \Prophecy\Exception\Doubler\MethodNotFoundException If method not found
45 45
      */
@@ -263,7 +263,7 @@  discard block
 block discarded – undo
263 263
     /**
264 264
      * Checks provided prediction immediately.
265 265
      *
266
-     * @param callable|Prediction\PredictionInterface $prediction
266
+     * @param Prediction\PredictionInterface $prediction
267 267
      *
268 268
      * @return $this
269 269
      *
Please login to merge, or discard this patch.
src/Prophecy/Promise/ThrowPromise.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -87,6 +87,9 @@
 block discarded – undo
87 87
         throw $this->exception;
88 88
     }
89 89
 
90
+    /**
91
+     * @param string $exception
92
+     */
90 93
     private function isNotAValidThrowable($exception)
91 94
     {
92 95
         return 'Exception' !== ltrim($exception, '\\') && !is_subclass_of($exception, 'Exception') && !is_subclass_of($exception, 'Throwable');
Please login to merge, or discard this patch.