diff --git a/compiler/ConfigGeneration.php b/compiler/ConfigGeneration.php
index 4d6766de..c23835c7 100644
--- a/compiler/ConfigGeneration.php
+++ b/compiler/ConfigGeneration.php
@@ -6,7 +6,8 @@ class ConfigGeneration
 {
     private $phpConfigPath = '';
 
-    private $configPath    = '';
+    private $configPath = '';
+
     private $configPathDev = '';
 
     public function __construct(array $args)
@@ -32,7 +33,7 @@ public function __construct(array $args)
 
     private function copyConfigToTmp(): bool
     {
-        return \copy($this->configPathDev, $this->configPath);
+        return \copy($this->configPath, $this->configPathDev);
     }
 
     private function genPhpConfig(): bool