Skip to content

Commit 0e6b078

Browse files
authored
changelog: categorize fixes as removals (#4)
1 parent 63161e4 commit 0e6b078

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,16 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
56
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
67
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
78

9+
## [11.0.1] - 2025-06-04
10+
11+
### Removed
12+
- Unused return statement from `Debounceable::handle`.
13+
- `@return` annotation from `debouncedHandle`.
14+
815
## [11.0.0] - 2024-06-23
916

1017
### Changed

src/Debounce/Debounceable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ public function handle()
6161

6262
Cache::forget('debounceable_' . $this->getIdForDebounce());
6363

64-
return $this->debouncedHandle();
64+
$this->debouncedHandle();
6565
}
6666
}

src/Debounce/ShouldDebounce.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ interface ShouldDebounce extends ShouldQueue
1717
public function getIdForDebounce(): string;
1818

1919
/**
20-
* @return bool|void
20+
* Execute the debounced job.
2121
*/
2222
public function debouncedHandle();
2323
}

0 commit comments

Comments
 (0)