fix(OCP): Add since tag to all constants

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2024-02-15 07:57:26 +01:00
parent c83a657652
commit 3b0a9e6639
No known key found for this signature in database
GPG key ID: 74434EFE0D2E2205

View file

@ -45,10 +45,16 @@ use Psr\Log\LoggerInterface;
*/
class LinkReferenceProvider implements IReferenceProvider {
/* for image size and webpage header */
private const MAX_CONTENT_LENGTH = 5 * 1024 * 1024;
/**
* for image size and webpage header
* @since 29.0.0
*/
public const MAX_CONTENT_LENGTH = 5 * 1024 * 1024;
private const ALLOWED_CONTENT_TYPES = [
/**
* @since 29.0.0
*/
public const ALLOWED_CONTENT_TYPES = [
'image/png',
'image/jpg',
'image/jpeg',