Completed
Pull Request — master (#20)
by Adeniyi
02:50
created
src/Interface/GetDataInterface.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Defining Interface for class GetData.
4
- *
5
- * @package Ibonly\PotatoORM\ModelInterface
6
- * @author  Ibraheem ADENIYI <[email protected]>
7
- * @license MIT <https://opensource.org/licenses/MIT>
8
- */
3
+     * Defining Interface for class GetData.
4
+     *
5
+     * @package Ibonly\PotatoORM\ModelInterface
6
+     * @author  Ibraheem ADENIYI <[email protected]>
7
+     * @license MIT <https://opensource.org/licenses/MIT>
8
+     */
9 9
 
10 10
 namespace Ibonly\PotatoORM;
11 11
 
Please login to merge, or discard this patch.
src/Helper/GetData.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,8 +53,8 @@
 block discarded – undo
53 53
     /**
54 54
      * Get the count of the fetch element
55 55
      */
56
-   public function getCount()
57
-   {
56
+    public function getCount()
57
+    {
58 58
         return sizeof($this->value);
59
-   }
59
+    }
60 60
 }
61 61
\ No newline at end of file
Please login to merge, or discard this 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.