Completed
Push — master ( 3b9ac7...e8290d )
by Dmitry
03:08
created
src/Plugin/Sequence.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@
 block discarded – undo
37 37
         return $this;
38 38
     }
39 39
 
40
+    /**
41
+     * @param Space $space
42
+     */
40 43
     public function initializeSequence($space) : Entity
41 44
     {
42 45
         $this->initSchema();
Please login to merge, or discard this patch.
src/Plugin/Temporal.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -250,6 +250,9 @@  discard block
 block discarded – undo
250 250
         return $this->getData($entity, $id, $date, '_temporal_override_aggregate');
251 251
     }
252 252
 
253
+    /**
254
+     * @param string $space
255
+     */
253 256
     private function getData($entity, $id, $date, $space)
254 257
     {
255 258
         $entity = $this->entityNameToId($entity);
@@ -468,6 +471,9 @@  discard block
 block discarded – undo
468 471
         return $this;
469 472
     }
470 473
 
474
+    /**
475
+     * @return string
476
+     */
471 477
     private function getTimestamp($string)
472 478
     {
473 479
         if (Carbon::hasTestNow() || !array_key_exists($string, $this->timestamps)) {
Please login to merge, or discard this patch.
src/Plugin/UserClasses.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@
 block discarded – undo
33 33
         return null;
34 34
     }
35 35
 
36
+    /**
37
+     * @param string $space
38
+     */
36 39
     public function mapEntity($space, $class) : self
37 40
     {
38 41
         $this->validateSpace($space);
Please login to merge, or discard this patch.
src/Space.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -325,6 +325,9 @@
 block discarded – undo
325 325
         return $this->formatNamesHash[$name];
326 326
     }
327 327
 
328
+    /**
329
+     * @return string
330
+     */
328 331
     public function getReference(string $name) : ?string
329 332
     {
330 333
         return $this->isReference($name) ? $this->formatReferences[$name] : null;
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
             if (!$this->getPropertyType($property)) {
167 167
                 throw new Exception("Unknown property $property", 1);
168 168
             }
169
-            $options['parts'][] = $this->getPropertyIndex($property)+1;
169
+            $options['parts'][] = $this->getPropertyIndex($property) + 1;
170 170
             $options['parts'][] = $this->getPropertyType($property);
171 171
             $this->setPropertyNullable($property, false);
172 172
         }
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
 
200 200
     public function isSpecial() : bool
201 201
     {
202
-        return in_array($this->id, [ ClientSpace::VSPACE_ID, ClientSpace::VINDEX_ID ]);
202
+        return in_array($this->id, [ClientSpace::VSPACE_ID, ClientSpace::VINDEX_ID]);
203 203
     }
204 204
 
205 205
     public function isSystem() : bool
Please login to merge, or discard this patch.
src/Schema.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
 
159 159
     public function once(string $name, Closure $callback)
160 160
     {
161
-        $key = 'mapper-once' . $name;
161
+        $key = 'mapper-once'.$name;
162 162
 
163 163
         $rows = $this->mapper->find('_schema', ['key' => $key]);
164 164
         if (!count($rows)) {
Please login to merge, or discard this patch.