diff --git a/CHANGELOG.md b/CHANGELOG.md index 052a12b1..ab07de03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,8 +6,10 @@ - New #161: Add `ManagerInterface` (@arogachev) - Chg #161: Raise PHP version to 8.0 (@arogachev) - Enh #165: Improve perfomance (@arogachev) -- Enh #134: Improve handling and control of `Assignment::$createdAt` (@arogachev) - Bug #178: Exclude parent role from `Manager::getAllChildRoles()` (@arogachev) +- Enh #134: Improve handling and control of `Assignment::$createdAt` (@arogachev) +- Chg #134: Add `$createdAt` argument to `ManagerInterface::assign()` (@arogachev) +- Chg #134: Replace arguments with `$assignment` argument in `AssignmentsStorageInterface::add()` (@arogachev) ## 1.0.2 April 20, 2023 diff --git a/src/ManagerInterface.php b/src/ManagerInterface.php index cbfac73a..0e8a9cc4 100644 --- a/src/ManagerInterface.php +++ b/src/ManagerInterface.php @@ -76,7 +76,8 @@ public function hasChild(string $parentName, string $childName): bool; * * @param string $itemName Name of the role or the permission to be assigned. * @param int|string|Stringable $userId The user ID. - * @param int|null UNIX timestamp representing assignment creation time. When `null`, current time is used. + * @param int|null $createdAt UNIX timestamp representing assignment creation time. When `null`, current time is + * used. * * @throws Exception If the role or permission has already been assigned to the user. *