Completed
Push — master ( 301697...4f2aa4 )
by PROSPER
02:55
created
app/Http/Controllers/LobController.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 
34 34
     /**
35 35
      * Get all delivery routes for this zip code
36
-     * @param  string $zipcdode
36
+     * @param  string $zipcode
37 37
      * @return array
38 38
      */
39 39
     private function getRoutes($zipcode)
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Http\Controllers;
4 4
 
5
-use Illuminate\Http\Request;
6
-
7
-use App\Http\Requests;
8 5
 use Goutte\Client;
9 6
 use App\Http\Controllers\Controller;
10 7
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,9 +38,9 @@
 block discarded – undo
38 38
      */
39 39
     private function getRoutes($zipcode)
40 40
     {
41
-        $results = $this->lob->routes()->all(['zip_codes' => $zipcode]);
41
+        $results = $this->lob->routes()->all([ 'zip_codes' => $zipcode ]);
42 42
 
43
-        return $results[0]['routes'];
43
+        return $results[ 0 ][ 'routes' ];
44 44
     }
45 45
 
46 46
     /**
Please login to merge, or discard this patch.