Add LockTokenCheckResultEnum for lock token validation results

- Introduced `LockTokenCheckResultEnum` with cases to handle various lock token validation outcomes:
  - `NO_LOCK_FOUND`
  - `LOCK_TOKEN_DO_NOT_MATCH`
  - `LOCK_TOKEN_DO_NOT_BELONG_TO_USER`.
This commit is contained in:
2026-04-02 14:35:26 +02:00
parent c9a632f3a9
commit a3b857253a

View File

@@ -0,0 +1,20 @@
<?php
declare(strict_types=1);
/*
* Chill is a software for social workers
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*/
namespace Chill\DocStoreBundle\Service\Lock;
enum LockTokenCheckResultEnum
{
case NO_LOCK_FOUND;
case LOCK_TOKEN_DO_NOT_MATCH;
case LOCK_TOKEN_DO_NOT_BELONG_TO_USER;
}