Completed
Pull Request — master (#381)
by
unknown
05:06
created
src/ReadModel/Index/Projector.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -363,7 +363,7 @@  discard block
 block discarded – undo
363 363
     }
364 364
 
365 365
     /**
366
-     * @param $dateString
366
+     * @param string $dateString
367 367
      *  A UDB2 formatted date string
368 368
      *
369 369
      * @return DateTimeInterface
@@ -381,7 +381,7 @@  discard block
 block discarded – undo
381 381
      * Update the index
382 382
      * @param $id
383 383
      * @param EntityType $type
384
-     * @param $userId
384
+     * @param string|null $userId
385 385
      * @param $name
386 386
      * @param $postalCode
387 387
      * @param $country
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
             );
143 143
         }
144 144
 
145
-        return isset($userId) ? (string) $userId : '';
145
+        return isset($userId) ? (string)$userId : '';
146 146
     }
147 147
 
148 148
     /**
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
         $this->updateIndex(
217 217
             $itemId,
218 218
             $itemType,
219
-            (string) $userId,
219
+            (string)$userId,
220 220
             $name,
221 221
             $postalCode,
222 222
             $country,
Please login to merge, or discard this patch.