Completed
Pull Request — v1.ns (#6)
by Timo
03:13
created
examples/Cafe/lib/model/Order.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     {
37 37
         $x = 0;
38 38
         foreach ($this->items as $item) {
39
-            $x += (int) $item['number'];
39
+            $x += (int)$item['number'];
40 40
         }
41 41
 
42 42
         return $x;
Please login to merge, or discard this patch.
examples/Cafe/example.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,6 +54,6 @@
 block discarded – undo
54 54
             // receive drinks
55 55
         $drinks = $cafe->receiveDelivery();
56 56
     }
57
-} else {
57
+}else {
58 58
     throw new RuntimeException('Could not get CafeGateway');
59 59
 }
Please login to merge, or discard this patch.