Skip to content

Commit

Permalink
fix(OCP): Add since tag to all constants
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Feb 15, 2024
1 parent c83a657 commit 2a0267d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/public/Collaboration/Reference/LinkReferenceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,15 @@
*/
class LinkReferenceProvider implements IReferenceProvider {

/* for image size and webpage header */
/**
* for image size and webpage header
* @since 29.0.0
*/
private const MAX_CONTENT_LENGTH = 5 * 1024 * 1024;

/**
* @since 29.0.0
*/
private const ALLOWED_CONTENT_TYPES = [
'image/png',
'image/jpg',
Expand Down

0 comments on commit 2a0267d

Please sign in to comment.