Completed
Push — master ( c5af8a...224e88 )
by Vladimir
04:24
created
examples/911calls.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     // Build a SoqlQuery with functions
23 23
     $soql = new SoqlQuery();
24 24
     $soql->where("within_circle(incident_location, {$_POST['latitude']}, {$_POST['longitude']}, {$_POST['range']})")
25
-         ->limit(20);
25
+            ->limit(20);
26 26
 
27 27
     // Get the dataset. $results is now an associative array in the same format as the JSON object
28 28
     $results = $ds->getDataset($soql);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
                 </tr>
68 68
 
69 69
                 <?php // Loop through all of the results from the dataset ?>
70
-                <?php foreach($results as $row) { ?>
70
+                <?php foreach ($results as $row) { ?>
71 71
                     <tr>
72 72
                         <?php $timestamp = new DateTime($row["event_clearance_date"]); ?>
73 73
                         <td><?= $timestamp->format('Y-m-d h:ia') ?></td>
Please login to merge, or discard this patch.
src/SoqlOrderDirection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     /**
21 21
      * The ascending clause Socrata expects
22 22
      */
23
-    const ASC  = 'ASC';
23
+    const ASC = 'ASC';
24 24
 
25 25
     /**
26 26
      * The descending clause Socrata expects
Please login to merge, or discard this patch.
src/Utilities/UrlQuery.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -90,10 +90,10 @@
 block discarded – undo
90 90
 
91 91
         // Build up the headers we'll need to pass
92 92
         $this->headers = array(
93
-                             'Accept: application/json',
94
-                             'Content-type: application/json',
95
-                             'X-App-Token: ' . $this->token
96
-                         );
93
+                                'Accept: application/json',
94
+                                'Content-type: application/json',
95
+                                'X-App-Token: ' . $this->token
96
+                            );
97 97
 
98 98
         $this->configureCurl($email, $password);
99 99
     }
Please login to merge, or discard this patch.