Closed christian-kolb closed 4 months ago
Instead of
$requestingUser->userId->mustNotBeEqualTo( $command->targetUserId, exception: static fn () => new Exception\UserCanNotTargetItself(), );
it's better to read:
$requestingUser->userId->mustNotBeEqualTo( $command->targetUserId, otherwiseThrow: static fn () => new Exception\UserCanNotTargetItself(), );
Instead of
it's better to read: