Completed
Push — master ( 847736...a7e708 )
by Risan Bagja
02:50
created
src/Jne.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,12 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace Jne;
4 4
 
5
-use Jne\Contracts\CourierSystem;
5
+use Jne\Collections\DeliveryOptionCollection;
6 6
 use Jne\Collections\LocationCollection;
7
+use Jne\Contracts\CourierSystem;
8
+use Jne\Contracts\Foundation\Package as PackageInterface;
7 9
 use Jne\Mappers\ArrayMappers\LocationMapper;
8
-use Jne\Collections\DeliveryOptionCollection;
9 10
 use Jne\Mappers\HtmlMappers\DeliveryOptionHtmlMapper;
10
-use Jne\Contracts\Foundation\Package as PackageInterface;
11 11
 
12 12
 class Jne implements CourierSystem
13 13
 {
Please login to merge, or discard this patch.
src/Mappers/HtmlMappers/DeliveryOptionHtmlMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     {
20 20
         $table = $node->filter('table')->eq(1);
21 21
 
22
-        return $table->filter('tbody > tr')->each(function (Crawler $row) {
22
+        return $table->filter('tbody > tr')->each(function(Crawler $row) {
23 23
             $cols = $row->children();
24 24
 
25 25
             return new DeliveryOption(
Please login to merge, or discard this patch.
src/Mappers/ArrayMappers/LocationMapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      */
17 17
     public function map(array $data)
18 18
     {
19
-        return array_map(function ($location) {
19
+        return array_map(function($location) {
20 20
             return new Location($location['label'], $location['code']);
21 21
         }, $data);
22 22
     }
Please login to merge, or discard this patch.