Completed
Pull Request — master (#20)
by Adeniyi
02:50
created
src/Helper/GetData.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 
24 24
     public function all()
25 25
     {
26
-        return json_decode( json_encode( $this->getAllData() ) );
26
+        return json_decode(json_encode($this->getAllData()));
27 27
     }
28 28
 
29 29
     /**
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      */
48 48
     public function first()
49 49
     {
50
-        return json_decode( $this->toJson() );
50
+        return json_decode($this->toJson());
51 51
     }
52 52
 
53 53
     /**
Please login to merge, or discard this patch.