Completed
Pull Request — master (#5)
by Fiser
06:42
created
LIN3S/SharedKernel/Infrastructure/Persistence/Sql/Event/SqlEventStore.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 ORDER BY `order` ASC
80 80
 LIMIT $limit
81 81
 OFFSET $offset
82
-SQL;
82
+sql;
83 83
 
84 84
         $storedEventRows = $this->pdo->query($sql, ['occurredOn' => $since]);
85 85
         $storedEvents = $this->buildStoredEvents($storedEventRows);
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
   `stream_version` INT NOT NULL,
165 165
   PRIMARY KEY (`order`)
166 166
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
167
-SQL;
167
+sql;
168 168
     }
169 169
 
170 170
     public static function removeSchema() : string
Please login to merge, or discard this patch.
src/LIN3S/SharedKernel/Infrastructure/Persistence/Sql/Hydrator.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
         $object = $reflectionClass->newInstanceWithoutConstructor();
27 27
         $this->setValuesToObject($reflectionClass, $object, $values);
28 28
 
29
-        Return $object;
29
+        return $object;
30 30
     }
31 31
 
32 32
     private function setValuesToObject(\ReflectionClass $reflectionClass, $object, array $values)
Please login to merge, or discard this patch.