Skip to content

Commit 3b0a9e6

Browse files
committed
fix(OCP): Add since tag to all constants
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 parent c83a657 commit 3b0a9e6

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

lib/public/Collaboration/Reference/LinkReferenceProvider.php

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,16 @@
4545
*/
4646
class LinkReferenceProvider implements IReferenceProvider {
4747

48-
/* for image size and webpage header */
49-
private const MAX_CONTENT_LENGTH = 5 * 1024 * 1024;
48+
/**
49+
* for image size and webpage header
50+
* @since 29.0.0
51+
*/
52+
public const MAX_CONTENT_LENGTH = 5 * 1024 * 1024;
5053

51-
private const ALLOWED_CONTENT_TYPES = [
54+
/**
55+
* @since 29.0.0
56+
*/
57+
public const ALLOWED_CONTENT_TYPES = [
5258
'image/png',
5359
'image/jpg',
5460
'image/jpeg',

0 commit comments

Comments
 (0)