Completed
Branch master (3ad919)
by Stevie-Ray
02:11
created
Category
src/Generator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
         $domainsFile = __DIR__ . "/domains.txt";
39 39
 
40 40
         $handle = fopen($domainsFile, "r");
41
-        if (! $handle) {
41
+        if (!$handle) {
42 42
             throw new \RuntimeException('Error opening file ' . $domainsFile);
43 43
         }
44 44
         $lines = array();
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
         $file = $this->outputDir . '/' . $filename;
81 81
         if (is_writable($file)) {
82 82
             file_put_contents($file, $data);
83
-            if (! chmod($file, 0644)) {
83
+            if (!chmod($file, 0644)) {
84 84
                 trigger_error("Couldn't not set " . $filename . " permissions to 644");
85 85
             }
86 86
         } else {
Please login to merge, or discard this patch.