Skip to content

Commit

Permalink
Merge branch 'main' of github.com:envor/envor-libstream
Browse files Browse the repository at this point in the history
  • Loading branch information
inmanturbo committed Jul 31, 2024
2 parents e01f58c + c114a2c commit d68fdef
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 1 addition & 9 deletions src/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Dispatcher

public static function new(): self
{
return new self();
return new self;
}

/**
Expand All @@ -25,8 +25,6 @@ public function __construct()

/**
* Add a command to the dispatcher.
*
* @return self
*/
public function add(Command $command): self
{
Expand All @@ -37,8 +35,6 @@ public function add(Command $command): self

/**
* Dispatch all commands.
*
* @return void
*/
public function dispatch(): void
{
Expand All @@ -49,8 +45,6 @@ public function dispatch(): void

/**
* Clear all commands.
*
* @return void
*/
public function clear(): void
{
Expand All @@ -59,8 +53,6 @@ public function clear(): void

/**
* Get all commands.
*
* @return array
*/
public function all(): array
{
Expand Down

0 comments on commit d68fdef

Please sign in to comment.