From ac6c44eff96d6b2ce27571ee9251d4b3e26bd418 Mon Sep 17 00:00:00 2001 From: mscherer Date: Thu, 2 Apr 2026 13:13:05 +0200 Subject: [PATCH] Fix loose comparison in documentation example Use strict comparison === instead of == in code example --- docs/Authorization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Authorization.md b/docs/Authorization.md index 95ee70ee..11a35cdc 100644 --- a/docs/Authorization.md +++ b/docs/Authorization.md @@ -533,7 +533,7 @@ For any action that gets the user id passed, you can also ask: ```php $isMe = $this->AuthUser->isMe($userEntity->id); // This would be equal to -$isMe = $this->AuthUser->id() == $userEntity->id; +$isMe = $this->AuthUser->id() === $userEntity->id; ``` ## AuthUser Helper