Completed
Pull Request — master (#287)
by Luc
04:52
created
src/ReadModel/Index/Projector.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
     }
261 261
 
262 262
     /**
263
-     * @param $dateString
263
+     * @param string $dateString
264 264
      *  A UDB2 formatted date string
265 265
      *
266 266
      * @return DateTimeInterface
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
      * Update the index
279 279
      * @param $id
280 280
      * @param EntityType $type
281
-     * @param $userId
281
+     * @param string|null $userId
282 282
      * @param Domain $owningDomain
283 283
      * @param DateTimeInterface $creationDate
284 284
      */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
             );
142 142
         }
143 143
 
144
-        return isset($userId) ? (string) $userId : '';
144
+        return isset($userId) ? (string)$userId : '';
145 145
     }
146 146
 
147 147
     /**
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
         $this->updateIndex(
167 167
             $eventId,
168 168
             EntityType::EVENT(),
169
-            (string) $userId,
169
+            (string)$userId,
170 170
             $this->UDB2Domain,
171 171
             $creationDate
172 172
         );
Please login to merge, or discard this patch.