Completed
Push — test ( 5bf343...41c779 )
by Temitope
03:44
created
src/Exceptions/NoRecordDeletionException.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 NoRecordDeletionException extends  Exception
14 14
 {
15
-    public static function create($message)
16
-    {
17
-        return new static($message);
15
+	public static function create($message)
16
+	{
17
+		return new static($message);
18 18
         
19
-    }
19
+	}
20 20
 }
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 NoRecordDeletionException extends  Exception
14 14
 {
15
-    public static function create($message)
16
-    {
17
-        return new static($message);
15
+	public static function create($message)
16
+	{
17
+		return new static($message);
18 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 NoRecordDeletionException extends  Exception
14 14
 {
15
-    public static function create($message)
16
-    {
17
-        return new static($message);
15
+	public static function create($message)
16
+	{
17
+		return new static($message);
18 18
         
19
-    }
19
+	}
20 20
 }
Please login to merge, or discard this patch.
src/Exceptions/TableNotCreatedException.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 NoRecordDeletionException extends  Exception
14 14
 {
15
-    public static function create($message)
16
-    {
17
-        return new static($message);
15
+	public static function create($message)
16
+	{
17
+		return new static($message);
18 18
         
19
-    }
19
+	}
20 20
 }
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 NoRecordDeletionException extends  Exception
14 14
 {
15
-    public static function create($message)
16
-    {
17
-        return new static($message);
15
+	public static function create($message)
16
+	{
17
+		return new static($message);
18 18
         
19
-    }
19
+	}
20 20
 }
Please login to merge, or discard this patch.
src/Exceptions/NoRecordFoundException.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 NoRecordDeletionException extends  Exception
14 14
 {
15
-    public static function create($message)
16
-    {
17
-        return new static($message);
15
+	public static function create($message)
16
+	{
17
+		return new static($message);
18 18
         
19
-    }
19
+	}
20 20
 }
Please login to merge, or discard this patch.
src/Interface/InterfaceBaseClass.php 1 patch
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -10,31 +10,31 @@
 block discarded – undo
10 10
 
11 11
 interface BaseModelInterface {
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
-    /**
21
-     * This method create or update record in a database table
22
-     * @params void
23
-     * @return boolean true or false;
24
-     */
25
-    public function save();
20
+	/**
21
+	 * This method create or update record in a database table
22
+	 * @params void
23
+	 * @return boolean true or false;
24
+	 */
25
+	public function save();
26 26
    
27
-    /**
28
-     * This method delete a row from the table by the row id
29
-     * @params int $id
30
-     * @return boolean true or false
31
-     */
32
-    public static function destroy($id);
27
+	/**
28
+	 * This method delete a row from the table by the row id
29
+	 * @params int $id
30
+	 * @return boolean true or false
31
+	 */
32
+	public static function destroy($id);
33 33
      
34
-    /**
35
-     * This method find a record by id
36
-     * @params int $id
37
-     * @return object find
38
-     */
39
-    public static function find($id);
34
+	/**
35
+	 * This method find a record by id
36
+	 * @params int $id
37
+	 * @return object find
38
+	 */
39
+	public static function find($id);
40 40
 }
Please login to merge, or discard this patch.