Completed
Pull Request — master (#16)
by Andreas
02:20
created
src/PersistenceLayer/CfpPersistenceLayer.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
             ), 400);
57 57
         }
58 58
         $statement = 'INSERT into `cfp`(`dateCfpStart`, `dateCfpEnd`, `dateEventStart`, `dateEventEnd`, `name`, `uri`, `hash`, `timezone`, `description`, `eventUri`, `iconUri`, `latitude`, `longitude`, `location`, `tags`, `lastUpdate`) ' .
59
-                     'VALUES (:dateCfpStart, :dateCfpEnd, :dateEventStart, :dateEventEnd, :name, :uri, :hash, :timezone, :description, :eventUri, :iconUri, :latitude, :longitude, :location, :tags, :lastUpdate);';
59
+                        'VALUES (:dateCfpStart, :dateCfpEnd, :dateEventStart, :dateEventEnd, :name, :uri, :hash, :timezone, :description, :eventUri, :iconUri, :latitude, :longitude, :location, :tags, :lastUpdate);';
60 60
         $statement = $this->pdo->prepare($statement);
61 61
 
62 62
         $values = [
@@ -136,9 +136,9 @@  discard block
 block discarded – undo
136 136
         }
137 137
 
138 138
         $statement = 'UPDATE `cfp` SET '
139
-                   . implode(',', $statementElements) . ','
140
-                   . '`lastUpdate` = :lastUpdate '
141
-                   . 'WHERE `hash` = :fetchHash';
139
+                    . implode(',', $statementElements) . ','
140
+                    . '`lastUpdate` = :lastUpdate '
141
+                    . 'WHERE `hash` = :fetchHash';
142 142
         $statement = $this->pdo->prepare($statement);
143 143
         $values['fetchHash']  = $fetchHash;
144 144
         $values['lastUpdate'] = (new \DateTime('now', new \DateTimezone('UTC')))->format('c');
Please login to merge, or discard this patch.