Completed
Pull Request — master (#449)
by
unknown
01:23
created
src/Prophecy/Exception/Doubler/MethodNotFoundException.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 
31 31
     /**
32 32
      * @param string $message
33
-     * @param string|object $classname
33
+     * @param string $classname
34 34
      * @param string $methodName
35 35
      * @param null|Argument\ArgumentsWildcard|array $arguments
36 36
      */
Please login to merge, or discard this patch.
src/Prophecy/Prophecy/MethodProphecy.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      *
41 41
      * @param ObjectProphecy                        $objectProphecy
42 42
      * @param string                                $methodName
43
-     * @param null|Argument\ArgumentsWildcard|array $arguments
43
+     * @param Argument\ArgumentsWildcard $arguments
44 44
      *
45 45
      * @throws \Prophecy\Exception\Doubler\MethodNotFoundException If method not found
46 46
      */
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     /**
137 137
      * Sets custom promise to the prophecy.
138 138
      *
139
-     * @param callable|Promise\PromiseInterface $promise
139
+     * @param callable $promise
140 140
      *
141 141
      * @return $this
142 142
      *
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
      *
304 304
      * @see \Prophecy\Prediction\CallTimesPrediction
305 305
      *
306
-     * @param $count
306
+     * @param integer $count
307 307
      *
308 308
      * @return $this
309 309
      */
@@ -327,7 +327,7 @@  discard block
 block discarded – undo
327 327
     /**
328 328
      * Checks provided prediction immediately.
329 329
      *
330
-     * @param callable|Prediction\PredictionInterface $prediction
330
+     * @param Prediction\PredictionInterface $prediction
331 331
      *
332 332
      * @return $this
333 333
      *
Please login to merge, or discard this patch.
src/Prophecy/Call/CallCenter.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -146,6 +146,9 @@  discard block
 block discarded – undo
146 146
         );
147 147
     }
148 148
 
149
+    /**
150
+     * @param string $methodName
151
+     */
149 152
     private function createUnexpectedCallException(ObjectProphecy $prophecy, $methodName,
150 153
                                                    array $arguments)
151 154
     {
@@ -193,6 +196,9 @@  discard block
 block discarded – undo
193 196
         );
194 197
     }
195 198
 
199
+    /**
200
+     * @param integer $indentationLength
201
+     */
196 202
     private function indentArguments(array $arguments, $indentationLength)
197 203
     {
198 204
         return \preg_replace_callback(
Please login to merge, or discard this patch.