Skip to content

Commit deb214a

Browse files
committed
Refactored code to follow DRY and KISS principles. Removed redundant Hook class in favor of direct implementation in HooksManager
1 parent b4bb535 commit deb214a

File tree

6 files changed

+435
-695
lines changed

6 files changed

+435
-695
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## 2.1.0
4+
5+
### Changes
6+
- Refactored code to follow DRY and KISS principles
7+
- Removed redundant `Hook` class in favor of direct implementation in `HooksManager`
8+
- Standardized method naming across the codebase
9+
- Improved method documentation with comprehensive PHPDoc comments
10+
- Optimized hook callback execution
11+
- Fixed interface implementation consistency
12+
313
## 2.0.1
414

515
### Changes

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "simplemediacode/hooks",
33
"description": "Modern PHP Hooks System for PHP applications.",
44
"type": "library",
5-
"version": "2.0.1",
5+
"version": "2.1.0",
66
"require": {
77
"php": "~8.0|~8.1|~8.2|~8.3|~8.4"
88
},

0 commit comments

Comments
 (0)