Completed
Push — master ( 93bf20...5b39f4 )
by Dmitry
02:52
created
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.