Completed
Push — feature/select_customer_on_fli... ( c85fa6 )
by Laurent
02:07
created
class/missions/FlightMission.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
      */
58 58
     public function __construct($id, $startPoint, $endPoint, $kilometersComment, $numberOfKilometers, DateTime $date)
59 59
     {
60
-        $this->id = (int)$id;
60
+        $this->id = (int) $id;
61 61
         $this->startPoint = $startPoint;
62 62
         $this->endPoint = $endPoint;
63 63
         $this->kilometersComment = $kilometersComment;
Please login to merge, or discard this patch.
Form/Form.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
      */
88 88
     public function add(FormElementInterface $element)
89 89
     {
90
-        if(array_key_exists($element->getName(), $this->elements)){
90
+        if (array_key_exists($element->getName(), $this->elements)) {
91 91
             throw new \InvalidArgumentException('Element already exists');
92 92
         }
93 93
         $this->elements[$element->getName()] = $element;
Please login to merge, or discard this patch.