Update Update.php: Adding phpdoc

by @ThomasLandauer

Some issues have been detected in this pull request

Issues that can be fixed by applying a patch

Review the proposed patch then download it to apply it manually or execute the following command from the repository root directory:

curl https://fabbot.io/patch/symfony/mercure/120/5fe967cf16bb0b6911addc444b131eed1211851c/cs.diff | patch -p0
diff -ru src/Update.php src/Update.php
--- src/Update.php	2025-01-17 11:06:27.337492053 +0000
+++ src/Update.php	2025-01-17 11:06:27.738492807 +0000
@@ -34,7 +34,7 @@
 
     /**
      * @param string|string[] $topics
-     * @param ?string $type SSE type: https://developer.mozilla.org/en-US/docs/Web/API/EventSource
+     * @param ?string         $type   SSE type: https://developer.mozilla.org/en-US/docs/Web/API/EventSource
      */
     public function __construct($topics, string $data = '', bool $private = false, ?string $id = null, ?string $type = null, ?int $retry = null)
     {

0
Common Typos

0
File Permissions

0
Merge Commits

0
Exception Messages Formatting

0
Usage of void in test files

0
Use ::class whenever possible

0
Deprecation Messages