@@ -130,8 +130,6 @@ private function __initStreamSocketServer(): void
130130 * requests via the `handleReact` method and logs errors using the `logError` method.
131131 *
132132 * @param LoopInterface|null $loop Optional event loop instance. If null, the global loop is used.
133- *
134- * @return void
135133 */
136134 private function __initReactHttpServer (?LoopInterface $ loop = null ): void
137135 {
@@ -168,8 +166,6 @@ public function start(bool $start_loop = false): void
168166 * @param bool $start_loop Determines whether to start the event loop.
169167 * - If true, the event loop will be started.
170168 * - If false, the event loop will not be started.
171- *
172- * @return void
173169 */
174170 private function __startReact (bool $ start_loop = false ): void
175171 {
@@ -185,8 +181,6 @@ private function __startReact(bool $start_loop = false): void
185181 * and the `pcntl` extension is loaded, it dispatches pending signals
186182 * using `pcntl_signal_dispatch`. When a client connection is accepted,
187183 * it delegates the handling of the connection to the `handleResource` method.
188- *
189- * @return void
190184 */
191185 private function __startResource (): void
192186 {
@@ -435,9 +429,8 @@ public function setLogger(LoggerInterface|true|null $logger): void
435429 *
436430 * @param array|PersistentState $state The state to set, either as an
437431 * array of options or a PersistentState object.
438- * @return void
439432 */
440- public function setState (array |PersistentState $ state )
433+ public function setState (array |PersistentState $ state ): void
441434 {
442435 if (isset ($ this ->state )) return ;
443436 if (is_array ($ state )) $ state = new PersistentState (...$ state );
@@ -451,8 +444,6 @@ public function setState(array|PersistentState $state)
451444 * This method checks if the `$state` property is set. If it is, it initializes
452445 * the `$endpoints` property with a default endpoint and a reference to the
453446 * verified endpoint.
454- *
455- * @return void
456447 */
457448 private function __setVerifiedEndpoint (PersistentState &$ state ): void
458449 {
0 commit comments