Completed
Push — master ( c332a7...d97910 )
by Adeniyi
07:05 queued 02:31
created
src/Interface/DatabaseQueryInterface.php 2 patches
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 DatabaseQueryInterface.
4
- *
5
- * @package Ibonly\PotatoORM\DatabaseQueryInterface
6
- * @author  Ibraheem ADENIYI <[email protected]>
7
- * @license MIT <https://opensource.org/licenses/MIT>
8
- */
3
+     * Defining Interface for class DatabaseQueryInterface.
4
+     *
5
+     * @package Ibonly\PotatoORM\DatabaseQueryInterface
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.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
 
12 12
 interface DatabaseQueryInterface
13 13
 {
14
-    public function checkTableExist($table, $con=NULL);
14
+    public function checkTableExist($table, $con = NULL);
15 15
 
16
-    public static function checkTableName($table, $dbConnection=NULL);
16
+    public static function checkTableName($table, $dbConnection = NULL);
17 17
 
18 18
     public static function selectQuery($tableName, $field, $value, $connection);
19 19
 
Please login to merge, or discard this patch.
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/Interface/ModelInterface.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 Model.
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 Model.
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/Exceptions/DataAlreadyExistException.php 2 patches
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
- * Exception for user already exist
4
- *
5
- * @package Ibonly\PotatoORM\DataAlreadyExistException
6
- * @author  Ibraheem ADENIYI <[email protected]>
7
- * @license MIT <https://opensource.org/licenses/MIT>
8
- */
3
+     * Exception for user already exist
4
+     *
5
+     * @package Ibonly\PotatoORM\DataAlreadyExistException
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,6 +25,6 @@
 block discarded – undo
25 25
      */
26 26
     public function errorMessage()
27 27
     {
28
-        return "Error: " . $this->getMessage();
28
+        return "Error: ".$this->getMessage();
29 29
     }
30 30
 }
31 31
\ No newline at end of file
Please login to merge, or discard this patch.
src/Exceptions/DataNotFoundException.php 2 patches
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
- * Exception for user not found
4
- *
5
- * @package Ibonly\PotatoORM\DataNotFoundException
6
- * @author  Ibraheem ADENIYI <[email protected]>
7
- * @license MIT <https://opensource.org/licenses/MIT>
8
- */
3
+     * Exception for user not found
4
+     *
5
+     * @package Ibonly\PotatoORM\DataNotFoundException
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,6 +25,6 @@
 block discarded – undo
25 25
      */
26 26
     public function errorMessage()
27 27
     {
28
-        return "Error: " . $this->getMessage();
28
+        return "Error: ".$this->getMessage();
29 29
     }
30 30
 }
31 31
\ No newline at end of file
Please login to merge, or discard this patch.
src/Helper/GetData.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,10 +28,10 @@
 block discarded – undo
28 28
         foreach (json_decode($this->all()) as $key) {
29 29
             return $key->$name;
30 30
         }
31
-   }
31
+    }
32 32
 
33
-   public function getCount()
34
-   {
33
+    public function getCount()
34
+    {
35 35
         return sizeof($this->value);
36
-   }
36
+    }
37 37
 }
38 38
\ No newline at end of file
Please login to merge, or discard this patch.