Completed
Push — test ( eefe29...b000c4 )
by Temitope
02:46
created
src/Exceptions/NoRecordDeletionException.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 
13 13
 class NoRecordDeletionException extends  Exception
14 14
 {
15
-    public static function checkNoRecordUpdateException($message)
16
-    {
17
-        return new static($message);
18
-    }
15
+	public static function checkNoRecordUpdateException($message)
16
+	{
17
+		return new static($message);
18
+	}
19 19
 }
Please login to merge, or discard this patch.
src/Exceptions/EmptyArrayException.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 
13 13
 class EmptyArrayException extends Exception {
14 14
 	
15
-    public static function checkEmptyArrayException($message)
16
-    {
17
-    	return new static($message);
18
-    }
15
+	public static function checkEmptyArrayException($message)
16
+	{
17
+		return new static($message);
18
+	}
19 19
 
20 20
 }
Please login to merge, or discard this patch.
src/Exceptions/NoArgumentPassedToFunctionException.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 
13 13
 class NoArgumentPassedToFunctionException extends Exception {
14 14
 	
15
-    public static function checkNoArgumentPassedToFunction($message)
16
-    {
17
-    	return new static($message);
18
-    }
15
+	public static function checkNoArgumentPassedToFunction($message)
16
+	{
17
+		return new static($message);
18
+	}
19 19
 
20 20
 }
Please login to merge, or discard this patch.
src/Exceptions/NoRecordInsertionException.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
 
13 13
 class NoRecordInsertionException extends Exception {
14 14
 
15
-    public static function checkNoRecordAddedException($mesaage)
16
-    {
17
-    	return new static($mesaage);
18
-    }
15
+	public static function checkNoRecordAddedException($mesaage)
16
+	{
17
+		return new static($mesaage);
18
+	}
19 19
 }
Please login to merge, or discard this patch.
src/Exceptions/NoRecordUpdateException.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 
13 13
 class NoRecordUpdateException extends  Exception {
14 14
 	
15
-    public static function checkNoRecordUpdateException($message)
16
-    {
17
-    	return new static($message);
18
-    }
15
+	public static function checkNoRecordUpdateException($message)
16
+	{
17
+		return new static($message);
18
+	}
19 19
 
20 20
 }
Please login to merge, or discard this patch.
src/Exceptions/NullArgumentPassedToFunctionException.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 
13 13
 class NullArgumentPassedToFunction extends Exception {
14 14
 
15
-    public static function ckeckNullArgumentPassedToFunction($message)
16
-    {
17
-    	return new static ($message);
18
-    }
15
+	public static function ckeckNullArgumentPassedToFunction($message)
16
+	{
17
+		return new static ($message);
18
+	}
19 19
 
20 20
 }
Please login to merge, or discard this patch.
src/Exceptions/WrongArgumentException.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 
13 13
 class WrongArgumentException extends Exception {
14 14
 
15
-    public function checkWrongArgumentException($message)
16
-    {
17
-    	return new static ($message);
18
-    }
15
+	public function checkWrongArgumentException($message)
16
+	{
17
+		return new static ($message);
18
+	}
19 19
 
20 20
 }
Please login to merge, or discard this patch.
src/Database/DatabaseHelper.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -13,25 +13,25 @@
 block discarded – undo
13 13
 
14 14
 class DatabaseHelper {
15 15
 	
16
-    public $dbConn;
16
+	public $dbConn;
17 17
     
18
-    /**
19
-     * This is a constructor; a default method  that will be called automatically during class instantiation
20
-     */
21
-    public function __construct($dbConnect)
22
-    {
23
-    	$this->dbConn = $dbConnect;
24
-    }
18
+	/**
19
+	 * This is a constructor; a default method  that will be called automatically during class instantiation
20
+	 */
21
+	public function __construct($dbConnect)
22
+	{
23
+		$this->dbConn = $dbConnect;
24
+	}
25 25
     
26
-    /**
27
-     * This method creates a particular table
28
-     * @param tableName
29
-     * $return boolean true or false
30
-     */
26
+	/**
27
+	 * This method creates a particular table
28
+	 * @param tableName
29
+	 * $return boolean true or false
30
+	 */
31 31
    public function createTable($tableName, $conn = NULL)
32 32
    {
33 33
    	if (is_null($conn)) {
34
-   	    $conn = $this->dbConn;
34
+   		$conn = $this->dbConn;
35 35
    	}
36 36
    	
37 37
    	$sql = 'CREATE TABLE IF NOT EXISTS '.$tableName.'(';
Please login to merge, or discard this patch.
src/Interface/InterfaceBaseClass.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -10,12 +10,12 @@
 block discarded – undo
10 10
 
11 11
 interface InterfaceBaseClass {
12 12
 
13
-    /**
14
-     * This method gets all the record from a particular table
15
-     * @params void
16
-     * @return associative array
17
-     */
18
-    public static function getAll();
13
+	/**
14
+	 * This method gets all the record from a particular table
15
+	 * @params void
16
+	 * @return associative array
17
+	 */
18
+	public static function getAll();
19 19
    
20 20
    /**
21 21
     * This method create or update record in a database table
Please login to merge, or discard this patch.