Completed
Push — develop ( da1ae8...af9759 )
by Mathias
21s queued 14s
created
module/Auth/src/Auth/Repository/User.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      * @throws Mapping\MappingException
53 53
      * @throws LockException
54 54
      * @throws UserDeactivatedException
55
-     * @return null | UserInterface
55
+     * @return null|UserInterface | UserInterface
56 56
      */
57 57
     public function find($id, $lockMode = \Doctrine\ODM\MongoDB\LockMode::NONE, $lockVersion = null, array $options = [])
58 58
     {
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      * @param array $criteria
64 64
      * @param array $options
65 65
      * @throws UserDeactivatedException
66
-     * @return null | UserInterface
66
+     * @return null|UserInterface | UserInterface
67 67
      */
68 68
     public function findOneBy(array $criteria, array $options = [])
69 69
     {
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      * Creates a User
93 93
      *
94 94
      * @see \Core\Repository\AbstractRepository::create()
95
-     * @return UserInterface
95
+     * @return \Core\Entity\EntityInterface
96 96
      */
97 97
     public function create(array $data = null, $persist=false)
98 98
     {
@@ -267,7 +267,7 @@  discard block
 block discarded – undo
267 267
      * @param UserInterface $user
268 268
      * @param array $options
269 269
      * @throws UserDeactivatedException
270
-     * @return null | UserInterface
270
+     * @return null|UserInterface | UserInterface
271 271
      */
272 272
     protected function assertEntity(UserInterface $user = null, array $options)
273 273
     {
Please login to merge, or discard this patch.
module/Organizations/src/Organizations/Repository/Organization.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -129,10 +129,10 @@  discard block
 block discarded – undo
129 129
 //           )
130 130
 //        );
131 131
         $qb->addAnd($qb->expr()->field('user')->equals($userId))
132
-           ->addAnd(
133
-               $qb->expr()->addOr($qb->expr()->field('parent')->exists(false))
134
-                               ->addOr($qb->expr()->field('parent')->equals(null))
135
-           );
132
+            ->addAnd(
133
+                $qb->expr()->addOr($qb->expr()->field('parent')->exists(false))
134
+                                ->addOr($qb->expr()->field('parent')->equals(null))
135
+            );
136 136
 
137 137
         $q      = $qb->getQuery();
138 138
         $entity = $q->getSingleResult();
@@ -192,11 +192,11 @@  discard block
 block discarded – undo
192 192
         return $c;
193 193
     }
194 194
 	
195
-	/**
196
-	 * @param array|null    $data
197
-	 * @param bool          $persist
198
-	 * @return \Organizations\Entity\Organization
199
-	 */
195
+    /**
196
+     * @param array|null    $data
197
+     * @param bool          $persist
198
+     * @return \Organizations\Entity\Organization
199
+     */
200 200
     public function create(array $data = null, $persist=false)
201 201
     {
202 202
         $entity = parent::create($data);
Please login to merge, or discard this patch.