Completed
Push — master ( 4614c0...dbb6e6 )
by Steve
03:09
created
src/RequestHandler/DiceRequestHandler.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -77,10 +77,17 @@
 block discarded – undo
77 77
         return $responseWithOutput;
78 78
     }
79 79
 
80
+    /**
81
+     * @param Dice[] $dice
82
+     */
80 83
     private function makeDiceTotallyLegit($dice, Request $request)
81 84
     {
82 85
         $rolledValue = $request->getHeader('totally-legit')[0];
83 86
         return array_map(
87
+
88
+            /**
89
+             * @param Dice[] $dice
90
+             */
84 91
             function (Dice $dice) use ($rolledValue) {
85 92
                 return new TotallyLegit($dice, (int) $rolledValue);
86 93
             },
Please login to merge, or discard this patch.