Passed
Pull Request — master (#349)
by Def
02:19
created
src/Schema/Quoter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     public function getTableNameParts(string $name): array
32 32
     {
33 33
         $parts = array_slice(explode('.', $name), -2, 2);
34
-        return array_map(function($part) {return $this->unquoteSimpleTableName($part);}, $parts);
34
+        return array_map(function($part) {return $this->unquoteSimpleTableName($part); }, $parts);
35 35
     }
36 36
 
37 37
     public function ensureNameQuoted(string $name): string
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     {
93 93
         return preg_replace_callback(
94 94
             '/({{(%?[\w\-. ]+%?)}}|\\[\\[([\w\-. ]+)]])/',
95
-            function ($matches) {
95
+            function($matches) {
96 96
                 if (isset($matches[3])) {
97 97
                     return $this->quoteColumnName($matches[3]);
98 98
                 }
Please login to merge, or discard this patch.