GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( b2165a...d10d30 )
by Oleg
02:12
created
src/Route4Me/Address.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@  discard block
 block discarded – undo
10 10
 class Address extends Common
11 11
 {
12 12
     static public $apiUrl = '/api.v4/address.php';
13
-	static public $apiUrlMove='/actions/route/move_route_destination.php';
14
-	static public $apiUrDeparted='/api/route/mark_address_departed.php';
15
-	static public $apiUrVisited='/actions/address/update_address_visited.php';
13
+	static public $apiUrlMove = '/actions/route/move_route_destination.php';
14
+	static public $apiUrDeparted = '/api/route/mark_address_departed.php';
15
+	static public $apiUrVisited = '/actions/address/update_address_visited.php';
16 16
 
17 17
     public $route_destination_id;
18 18
     public $alias;
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
         }*/
71 71
 
72 72
         $address = new Address();
73
-        foreach($params as $key => $value) {
73
+        foreach ($params as $key => $value) {
74 74
             if (property_exists($address, $key)) {
75 75
                 $address->{$key} = $value;
76 76
             }
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
             'url'    => self::$apiUrl,
103 103
             'method' => 'GET',
104 104
             'query'  => array(
105
-                'route_id'             => isset($noteParams['route_id']) ? $noteParams['route_id']: null, 
105
+                'route_id'             => isset($noteParams['route_id']) ? $noteParams['route_id'] : null, 
106 106
                 'route_destination_id' => isset($noteParams['route_destination_id']) ? $noteParams['route_destination_id'] : null,
107 107
                 'notes' => 1,
108 108
             )
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
             'url'    => self::$apiUrl,
133 133
             'method' => 'PUT',
134 134
             'query'  => array(
135
-                'route_id'  => isset($params['route_id']) ? $params['route_id']: null, 
135
+                'route_id'  => isset($params['route_id']) ? $params['route_id'] : null, 
136 136
                 'route_destination_id' => isset($params['route_destination_id']) ? $params['route_destination_id'] : null,
137 137
             ),
138 138
             'body'   => $body
@@ -147,10 +147,10 @@  discard block
 block discarded – undo
147 147
             'url'    => self::$apiUrDeparted,
148 148
             'method' => 'GET',
149 149
             'query'  => array(
150
-                'route_id'   => isset($params['route_id']) ? $params['route_id']: null,
151
-                'address_id'   => isset($params['address_id']) ? $params['address_id']: null,
152
-                'is_departed'   => isset($params['is_departed']) ? $params['is_departed']: null,
153
-                'member_id'   => isset($params['member_id']) ? $params['member_id']: null,
150
+                'route_id'   => isset($params['route_id']) ? $params['route_id'] : null,
151
+                'address_id'   => isset($params['address_id']) ? $params['address_id'] : null,
152
+                'is_departed'   => isset($params['is_departed']) ? $params['is_departed'] : null,
153
+                'member_id'   => isset($params['member_id']) ? $params['member_id'] : null,
154 154
             ),
155 155
         ));
156 156
 
@@ -163,10 +163,10 @@  discard block
 block discarded – undo
163 163
             'url'    => self::$apiUrVisited,
164 164
             'method' => 'GET',
165 165
             'query'  => array(
166
-                'route_id'   => isset($params['route_id']) ? $params['route_id']: null,
167
-                'address_id'   => isset($params['address_id']) ? $params['address_id']: null,
168
-                'is_visited'   => isset($params['is_visited']) ? $params['is_visited']: null,
169
-                'member_id'   => isset($params['member_id']) ? $params['member_id']: null,
166
+                'route_id'   => isset($params['route_id']) ? $params['route_id'] : null,
167
+                'address_id'   => isset($params['address_id']) ? $params['address_id'] : null,
168
+                'is_visited'   => isset($params['is_visited']) ? $params['is_visited'] : null,
169
+                'member_id'   => isset($params['member_id']) ? $params['member_id'] : null,
170 170
             ),
171 171
         ));
172 172
 
Please login to merge, or discard this patch.