Completed
Pull Request — master (#6)
by Daniel
08:59
created
bridge/doctrine-collections/lib/CollectionsVisitor.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     private $expressionBuilder;
22 22
 
23 23
     /**
24
-     * @param QueryBuilder $expressionBuilder
24
+     * @param ExpressionBuilder $expressionBuilder
25 25
      */
26 26
     public function __construct(ExpressionBuilder $expressionBuilder)
27 27
     {
@@ -32,7 +32,6 @@  discard block
 block discarded – undo
32 32
      * Walk the given expression to build up the PHPCR-ODM query builder.
33 33
      *
34 34
      * @param Expression $expr
35
-     * @param AbstractNode|null $parentNode
36 35
      */
37 36
     public function dispatch(Expression $expr)
38 37
     {
Please login to merge, or discard this patch.
bridge/doctrine-collections/lib/CollectionsAgent.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,8 +82,9 @@
 block discarded – undo
82 82
     public function getIdentifier($object)
83 83
     {
84 84
         foreach ($this->getCollectionFor($object) as $identifier => $element) {
85
-            if ($element === $object)
86
-                return $identifier;
85
+            if ($element === $object) {
86
+                            return $identifier;
87
+            }
87 88
         }
88 89
 
89 90
         throw new \RuntimeException(sprintf(
Please login to merge, or discard this patch.