diff --git a/CHANGELOG.md b/CHANGELOG.md index 31a2efe..2492a8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ All notable changes to `libstream` will be documented in this file. +## v1.0.1 - 2024-07-31 + +### What's Changed + +* Main by @inmanturbo in https://github.com/envor/envor-libstream/pull/1 + +### New Contributors + +* @inmanturbo made their first contribution in https://github.com/envor/envor-libstream/pull/1 + +**Full Changelog**: https://github.com/envor/envor-libstream/compare/v1.0.0...v1.0.1 + ## v1.0.0 - 2024-07-31 **Full Changelog**: https://github.com/envor/envor-libstream/commits/v1.0.0 diff --git a/src/Dispatcher.php b/src/Dispatcher.php index 90f2035..ee72e0e 100644 --- a/src/Dispatcher.php +++ b/src/Dispatcher.php @@ -12,7 +12,7 @@ class Dispatcher public static function new(): self { - return new self(); + return new self; } /** @@ -25,8 +25,6 @@ public function __construct() /** * Add a command to the dispatcher. - * - * @return self */ public function add(Command $command): self { @@ -37,8 +35,6 @@ public function add(Command $command): self /** * Dispatch all commands. - * - * @return void */ public function dispatch(): void { @@ -49,8 +45,6 @@ public function dispatch(): void /** * Clear all commands. - * - * @return void */ public function clear(): void { @@ -59,8 +53,6 @@ public function clear(): void /** * Get all commands. - * - * @return array */ public function all(): array {