Completed
Push — master ( 20c85b...101985 )
by Dmitry
03:54
created
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.
src/Plugin/Sequence.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
             $this->mapper
47 47
                 ->getPlugin(Procedure::class)
48 48
                 ->get(CreateSequence::class)
49
-                ->execute($name, $primaryIndex['name'], $primaryIndex['parts'][0][0]+1);
49
+                ->execute($name, $primaryIndex['name'], $primaryIndex['parts'][0][0] + 1);
50 50
 
51 51
             $this->mapper->getRepository('_vsequence')->flushCache();
52 52
 
Please login to merge, or discard this patch.
src/Procedure/FindOrCreate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
         $pkIndex = null;
45 45
         if ($key) {
46 46
             // convert php to lua index
47
-            $pkIndex = $space->getPrimaryField()+1;
47
+            $pkIndex = $space->getPrimaryField() + 1;
48 48
             if (!array_key_exists($key, $params) || !$params[$key]) {
49 49
                 $sequence = 1;
50 50
                 $space->getMapper()
Please login to merge, or discard this patch.