From 6952f29bc7d6f151b025b9281b9c9c29943a95ea Mon Sep 17 00:00:00 2001 From: Anton Ukhanev Date: Tue, 24 Mar 2026 00:24:03 +0100 Subject: [PATCH 1/2] Rename parameter for compat with `ContainerInterface` --- src/HasCapableInterface.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/HasCapableInterface.php b/src/HasCapableInterface.php index 4adf5e7..ee059be 100644 --- a/src/HasCapableInterface.php +++ b/src/HasCapableInterface.php @@ -14,7 +14,7 @@ interface HasCapableInterface /** * Determines whether this instance has the specified key. * - * @param string $key The key to check for. + * @param string $id The key to check for. * * @return bool True if the key exists; false otherwise. * @@ -23,5 +23,5 @@ interface HasCapableInterface * @psalm-suppress PossiblyUnusedMethod * @psalm-suppress InvalidThrow */ - public function has(string $key): bool; + public function has(string $id): bool; } From 19526e18c8976378f370d78b39fc73d747603a7b Mon Sep 17 00:00:00 2001 From: Anton Ukhanev Date: Tue, 24 Mar 2026 00:31:17 +0100 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c158cc1..3c8f01b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). ## [[*next-version*]] - YYYY-MM-DD +### Changed +- Aligned param names with those of PSR interfaces (#37). ## [0.5.0-beta1] - 2026-03-23 ### Changed