Added deprecated keyword to ensure something is changed for v3.0.0

This commit is contained in:
Alejandro Celaya 2021-08-03 10:02:44 +02:00
parent 6860855c71
commit 8fbf05acd4

View file

@ -15,7 +15,7 @@ class DeleteShortUrlException extends DomainException implements ProblemDetailsE
use CommonProblemDetailsExceptionTrait;
private const TITLE = 'Cannot delete short URL';
private const TYPE = 'INVALID_SHORTCODE_DELETION'; // FIXME Should be INVALID_SHORT_URL_DELETION
private const TYPE = 'INVALID_SHORTCODE_DELETION'; // FIXME Deprecated: Should be INVALID_SHORT_URL_DELETION
public static function fromVisitsThreshold(int $threshold, string $shortCode): self
{