Completed
Push — master ( 86e4ff...f67819 )
by Viacheslav
03:36
created
src/Sql/SimpleExpression.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
             return new self('?', $arguments[0]);
35 35
         }
36 36
         if ($arguments[0] instanceof Database\Definition\Column) {
37
-            return new self(substr(str_repeat($operation . '?', count($arguments)), strlen($operation)), $arguments);
37
+            return new self(substr(str_repeat($operation.'?', count($arguments)), strlen($operation)), $arguments);
38 38
         }
39 39
         if ($arguments[0] instanceof Database\Definition\Table) {
40 40
             return new self('?', $arguments[0]);
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         if ($arguments[0] instanceof Closure) {
43 43
             $expression = $arguments[0]();
44 44
             if (!$expression instanceof Expression) {
45
-                throw new \Yaoi\Sql\Exception('Closure should return ' . get_called_class(),
45
+                throw new \Yaoi\Sql\Exception('Closure should return '.get_called_class(),
46 46
                     \Yaoi\Sql\Exception::CLOSURE_MISTYPE);
47 47
             }
48 48
             return $expression;
Please login to merge, or discard this patch.