Completed
Pull Request — master (#20)
by Daniel
01:54
created
lib/Query/Join.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Psi\Bridge\ObjectAgent\Doctrine\PhpcrOdm;
6 6
 
Please login to merge, or discard this patch.
bridge/doctrine-orm/lib/ExpressionVisitor.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
                 return $this->walkComposite($expr);
36 36
         }
37 37
 
38
-        throw new \RuntimeException('Unknown Expression: ' . get_class($expr));
38
+        throw new \RuntimeException('Unknown Expression: '.get_class($expr));
39 39
     }
40 40
 
41 41
     public function getParameters()
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
                 return $this->expressionFactory->isNotNull($this->getField($field), $this->registerParameter($field, $value));
87 87
         }
88 88
 
89
-        throw new \RuntimeException('Unknown comparator: ' . $comparison->getComparator());
89
+        throw new \RuntimeException('Unknown comparator: '.$comparison->getComparator());
90 90
     }
91 91
 
92 92
     private function walkComposite(Composite $expression)
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
             $ormExpressions[] = $this->dispatch($childExpression);
99 99
         }
100 100
 
101
-        $method = $expression->getType() == Composite::AND ? 'andX' : 'orX';
101
+        $method = $expression->getType() == Composite::AND? 'andX' : 'orX';
102 102
 
103 103
         return call_user_func_array([$this->expressionFactory, $method], $ormExpressions);
104 104
     }
@@ -111,14 +111,14 @@  discard block
 block discarded – undo
111 111
         }
112 112
 
113 113
         // otherwise use the primary source alias.
114
-        return $this->sourceAlias . '.' . $field;
114
+        return $this->sourceAlias.'.'.$field;
115 115
     }
116 116
 
117 117
     private function registerParameter(string $name, $value)
118 118
     {
119
-        $name = 'param' . $this->paramIndex++;
119
+        $name = 'param'.$this->paramIndex++;
120 120
         $this->parameters[$name] = $value;
121 121
 
122
-        return ':' . $name;
122
+        return ':'.$name;
123 123
     }
124 124
 }
Please login to merge, or discard this patch.