Test Failed
Pull Request — master (#192)
by
unknown
03:49
created
src/Entity/ServiceSummaryTrait.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,8 +60,8 @@
 block discarded – undo
60 60
      */
61 61
     public function setService(Service $service)
62 62
     {
63
-      $this->Service = $service;
64
-      $this->service = $service;
63
+        $this->Service = $service;
64
+        $this->service = $service;
65 65
     }
66 66
 
67 67
     /**
Please login to merge, or discard this patch.
src/Entity/EstimatedArrivalTrait.php 1 patch
Indentation   +127 added lines, -127 removed lines patch added patch discarded remove patch
@@ -4,174 +4,174 @@
 block discarded – undo
4 4
 
5 5
 trait EstimatedArrivalTrait
6 6
 {
7
-  private $Arrival;
8
-  private $Pickup;
9
-  private $DayOfWeek;
10
-  private $CustomerCenterCutoff;
11
-  private $DelayCount;
12
-  private $HolidayCount;
13
-  private $RestDays;
14
-  private $TotalTransitDays;
15
-
16
-  /**
17
-   * @param \stdClass|null $response
18
-   */
19
-  public function build(\stdClass $response = null)
20
-  {
7
+    private $Arrival;
8
+    private $Pickup;
9
+    private $DayOfWeek;
10
+    private $CustomerCenterCutoff;
11
+    private $DelayCount;
12
+    private $HolidayCount;
13
+    private $RestDays;
14
+    private $TotalTransitDays;
15
+
16
+    /**
17
+     * @param \stdClass|null $response
18
+     */
19
+    public function build(\stdClass $response = null)
20
+    {
21 21
     if (null !== $response) {
22
-      if (isset($response->Arrival)) {
22
+        if (isset($response->Arrival)) {
23 23
         $this->Arrival = new Arrival($response->Arrival);
24
-      }
25
-      if (isset($response->Pickup)) {
24
+        }
25
+        if (isset($response->Pickup)) {
26 26
         $this->Pickup = new Pickup($response->Pickup);
27
-      }
28
-      if (isset($response->HolidayCount)) {
27
+        }
28
+        if (isset($response->HolidayCount)) {
29 29
         $this->HolidayCount = $response->HolidayCount;
30
-      }
31
-      if (isset($response->DelayCount)) {
30
+        }
31
+        if (isset($response->DelayCount)) {
32 32
         $this->DelayCount = $response->DelayCount;
33
-      }
34
-      if (isset($response->DayOfWeek)) {
33
+        }
34
+        if (isset($response->DayOfWeek)) {
35 35
         $this->DayOfWeek = $response->DayOfWeek;
36
-      }
37
-      if (isset($response->TotalTransitDays)) {
36
+        }
37
+        if (isset($response->TotalTransitDays)) {
38 38
         $this->TotalTransitDays = $response->TotalTransitDays;
39
-      }
40
-      if (isset($response->CustomerCenterCutoff)) {
39
+        }
40
+        if (isset($response->CustomerCenterCutoff)) {
41 41
         $this->CustomerCenterCutoff = $response->CustomerCenterCutoff;
42
-      }
43
-      if (isset($response->RestDays)) {
42
+        }
43
+        if (isset($response->RestDays)) {
44 44
         $this->RestDays = $response->RestDays;
45
-      }
45
+        }
46
+    }
46 47
     }
47
-  }
48 48
 
49
-  /**
50
-   * @return Arrival
51
-   */
52
-  public function getArrival()
53
-  {
49
+    /**
50
+     * @return Arrival
51
+     */
52
+    public function getArrival()
53
+    {
54 54
     return $this->Arrival;
55
-  }
55
+    }
56 56
 
57
-  /**
58
-   * @param Arrival $Arrival
59
-   */
60
-  public function setArrival($Arrival)
61
-  {
57
+    /**
58
+     * @param Arrival $Arrival
59
+     */
60
+    public function setArrival($Arrival)
61
+    {
62 62
     $this->Arrival = $Arrival;
63
-  }
63
+    }
64 64
 
65
-  /**
66
-   * @return Pickup
67
-   */
68
-  public function getPickup()
69
-  {
65
+    /**
66
+     * @return Pickup
67
+     */
68
+    public function getPickup()
69
+    {
70 70
     return $this->Pickup;
71
-  }
71
+    }
72 72
 
73
-  /**
74
-   * @param Pickup $Pickup
75
-   */
76
-  public function setPickup($Pickup)
77
-  {
73
+    /**
74
+     * @param Pickup $Pickup
75
+     */
76
+    public function setPickup($Pickup)
77
+    {
78 78
     $this->Pickup = $Pickup;
79
-  }
79
+    }
80 80
 
81
-  /**
82
-   * @return mixed
83
-   */
84
-  public function getDayOfWeek()
85
-  {
81
+    /**
82
+     * @return mixed
83
+     */
84
+    public function getDayOfWeek()
85
+    {
86 86
     return $this->DayOfWeek;
87
-  }
87
+    }
88 88
 
89
-  /**
90
-   * @param mixed $DayOfWeek
91
-   */
92
-  public function setDayOfWeek($DayOfWeek)
93
-  {
89
+    /**
90
+     * @param mixed $DayOfWeek
91
+     */
92
+    public function setDayOfWeek($DayOfWeek)
93
+    {
94 94
     $this->DayOfWeek = $DayOfWeek;
95
-  }
95
+    }
96 96
 
97
-  /**
98
-   * @return mixed
99
-   */
100
-  public function getCustomerCenterCutoff()
101
-  {
97
+    /**
98
+     * @return mixed
99
+     */
100
+    public function getCustomerCenterCutoff()
101
+    {
102 102
     return $this->CustomerCenterCutoff;
103
-  }
103
+    }
104 104
 
105
-  /**
106
-   * @param mixed $CustomerCenterCutoff
107
-   */
108
-  public function setCustomerCenterCutoff($CustomerCenterCutoff)
109
-  {
105
+    /**
106
+     * @param mixed $CustomerCenterCutoff
107
+     */
108
+    public function setCustomerCenterCutoff($CustomerCenterCutoff)
109
+    {
110 110
     $this->CustomerCenterCutoff = $CustomerCenterCutoff;
111
-  }
111
+    }
112 112
 
113
-  /**
114
-   * @return mixed
115
-   */
116
-  public function getDelayCount()
117
-  {
113
+    /**
114
+     * @return mixed
115
+     */
116
+    public function getDelayCount()
117
+    {
118 118
     return $this->DelayCount;
119
-  }
119
+    }
120 120
 
121
-  /**
122
-   * @param mixed $DelayCount
123
-   */
124
-  public function setDelayCount($DelayCount)
125
-  {
121
+    /**
122
+     * @param mixed $DelayCount
123
+     */
124
+    public function setDelayCount($DelayCount)
125
+    {
126 126
     $this->DelayCount = $DelayCount;
127
-  }
127
+    }
128 128
 
129
-  /**
130
-   * @return mixed
131
-   */
132
-  public function getHolidayCount()
133
-  {
129
+    /**
130
+     * @return mixed
131
+     */
132
+    public function getHolidayCount()
133
+    {
134 134
     return $this->HolidayCount;
135
-  }
135
+    }
136 136
 
137
-  /**
138
-   * @param mixed $HolidayCount
139
-   */
140
-  public function setHolidayCount($HolidayCount)
141
-  {
137
+    /**
138
+     * @param mixed $HolidayCount
139
+     */
140
+    public function setHolidayCount($HolidayCount)
141
+    {
142 142
     $this->HolidayCount = $HolidayCount;
143
-  }
143
+    }
144 144
 
145
-  /**
146
-   * @return mixed
147
-   */
148
-  public function getRestDays()
149
-  {
145
+    /**
146
+     * @return mixed
147
+     */
148
+    public function getRestDays()
149
+    {
150 150
     return $this->RestDays;
151
-  }
151
+    }
152 152
 
153
-  /**
154
-   * @param mixed $RestDays
155
-   */
156
-  public function setRestDays($RestDays)
157
-  {
153
+    /**
154
+     * @param mixed $RestDays
155
+     */
156
+    public function setRestDays($RestDays)
157
+    {
158 158
     $this->RestDays = $RestDays;
159
-  }
159
+    }
160 160
 
161
-  /**
162
-   * @return mixed
163
-   */
164
-  public function getTotalTransitDays()
165
-  {
161
+    /**
162
+     * @return mixed
163
+     */
164
+    public function getTotalTransitDays()
165
+    {
166 166
     return $this->TotalTransitDays;
167
-  }
167
+    }
168 168
 
169
-  /**
170
-   * @param mixed $TotalTransitDays
171
-   */
172
-  public function setTotalTransitDays($TotalTransitDays)
173
-  {
169
+    /**
170
+     * @param mixed $TotalTransitDays
171
+     */
172
+    public function setTotalTransitDays($TotalTransitDays)
173
+    {
174 174
     $this->TotalTransitDays = $TotalTransitDays;
175
-  }
175
+    }
176 176
 
177 177
 }
Please login to merge, or discard this patch.
src/Entity/EstimatedArrival.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
         if (null !== $response) {
30 30
             self::build($response);
31 31
             if (isset($response->BusinessTransitDays)) {
32
-              $this->BusinessTransitDays = $response->BusinessTransitDays;
32
+                $this->BusinessTransitDays = $response->BusinessTransitDays;
33 33
             }
34 34
             if (isset($response->Time)) {
35 35
                 $this->Time = $response->Time;
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     public function getBusinessTransitDays()
56 56
     {
57
-      return $this->BusinessTransitDays;
57
+        return $this->BusinessTransitDays;
58 58
     }
59 59
 
60 60
     /**
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      */
63 63
     public function setBusinessTransitDays($BusinessTransitDays)
64 64
     {
65
-      $this->BusinessTransitDays = $BusinessTransitDays;
65
+        $this->BusinessTransitDays = $BusinessTransitDays;
66 66
     }
67 67
 
68 68
     /**
Please login to merge, or discard this patch.