fix(OCP): Add since tag to all constants

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/43595/head
Joas Schilling 4 months ago
parent c83a657652
commit 3b0a9e6639
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205

@ -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',

Loading…
Cancel
Save