Completed
Push — test ( 06ea2e...fa17b2 )
by Temitope
02:34
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/Database/DatabaseConnection.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -21,22 +21,22 @@  discard block
 block discarded – undo
21 21
 
22 22
 	public  function  __construct() 
23 23
 	{
24
-	    $this->loadEnv(); // load the environment variables
25
-	    $this->databaseName     =  getenv('databaseName');
26
-	    $this->databaseHost     =  getenv('databaseHost');
27
-	    $this->databaseDriver   =  getenv('databaseDriver');
28
-	    $this->databaseUsername =  getenv('databaseUsername');
29
-	    $this->databasePassword =  getenv('databasePassword');
24
+		$this->loadEnv(); // load the environment variables
25
+		$this->databaseName     =  getenv('databaseName');
26
+		$this->databaseHost     =  getenv('databaseHost');
27
+		$this->databaseDriver   =  getenv('databaseDriver');
28
+		$this->databaseUsername =  getenv('databaseUsername');
29
+		$this->databasePassword =  getenv('databasePassword');
30 30
 	    
31
-	    try {
32
-	    	$options = [
33
-	    		PDO::ATTR_PERSISTENT    => true,
31
+		try {
32
+			$options = [
33
+				PDO::ATTR_PERSISTENT    => true,
34 34
 			PDO::ATTR_ERRMODE       => PDO::ERRMODE_EXCEPTION
35 35
 			];
36 36
 			parent::__construct($this->getDatabaseDriver(), $this->databaseUsername, $this->databasePassword, $options);
37
-	    } catch(PDOException $e) {
38
-	    	return $e->getMessage();
39
-	    }
37
+		} catch(PDOException $e) {
38
+			return $e->getMessage();
39
+		}
40 40
 	}
41 41
 
42 42
 	/**
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 	{
77 77
 		if (!getenv("APP_ENV")) {
78 78
 			$dotenv = new Dotenv(__DIR__.'/../../');
79
-		    $dotenv->load();
79
+			$dotenv->load();
80 80
 		}
81 81
 
82 82
 	}
Please login to merge, or discard this patch.