Completed
Push — master ( addc16...69f641 )
by Richard
05:18
created
src/App/IndexDB.php 2 patches
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -58,6 +58,9 @@  discard block
 block discarded – undo
58 58
         return $max_id;
59 59
     }
60 60
 
61
+    /**
62
+     * @param integer $id
63
+     */
61 64
     protected function serialize_relations(Graph\IndexDB $index, $id) {
62 65
         foreach ($index->nodes() as $node) {
63 66
             foreach ($node->relations() as $relation) {
@@ -94,6 +97,9 @@  discard block
 block discarded – undo
94 97
         }
95 98
     }
96 99
 
100
+    /**
101
+     * @param string $key
102
+     */
97 103
     protected function insert_property($entity_id, $key, $value) {
98 104
         $is_entity = false;
99 105
         if ($value instanceof Graph\Node) {
@@ -140,6 +146,9 @@  discard block
 block discarded – undo
140 146
     }
141 147
 
142 148
 
149
+    /**
150
+     * @param Graph\IndexDB $index
151
+     */
143 152
     protected function select_properties($id, $index) {
144 153
         $id = (int)$id;
145 154
         $res = $this->connection->executeQuery
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -12,9 +12,7 @@
 block discarded – undo
12 12
 
13 13
 use Lechimp\Dicto\Graph;
14 14
 use Doctrine\DBAL\Schema;
15
-use Doctrine\DBAL\Types\Type;
16 15
 use Doctrine\DBAL\Schema\Synchronizer\SingleDatabaseSynchronizer;
17
-use Doctrine\DBAL\Statement;
18 16
 
19 17
 class IndexDB extends DB {
20 18
     /**
Please login to merge, or discard this patch.