Completed
Pull Request — master (#1)
by Nielsen
05:53 queued 02:22
created
src/Core/SQL/Command/SQLSelect.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      * SQLSelect constructor.
23 23
      *
24 24
      * @param PersistenceService $persistence
25
-     * @param $entity
25
+     * @param string $entity
26 26
      */
27 27
     public function __construct(PersistenceService $persistence, $entity)
28 28
     {
Please login to merge, or discard this patch.
src/Core/SQL/PersistenceService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
         return [];
17 17
     }
18 18
 
19
+    /**
20
+     * @param string $tableName
21
+     */
19 22
     public function getColsOfTable($tableName)
20 23
     {
21 24
         return array_keys($this->getMetaData($tableName));
Please login to merge, or discard this patch.
src/Core/SQL/Builder/SQLInsertConverter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
         }
31 31
 
32 32
         $cols   = array_keys($value->getTableValues());
33
-        $params = array_map(function ($val) {
33
+        $params = array_map(function($val) {
34 34
             return ":" . $val;
35 35
         }, $cols);
36 36
 
Please login to merge, or discard this patch.
src/Core/SQL/Builder/SQLUpdateConverter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         }
39 39
 
40 40
         $cols   = array_keys($value->getTableValues());
41
-        $params = array_map(function ($val) {
41
+        $params = array_map(function($val) {
42 42
             return ":" . $val;
43 43
         }, $cols);
44 44
 
Please login to merge, or discard this patch.