mirror of
https://github.com/nextcloud/server.git
synced 2026-04-29 10:03:32 -04:00
fix(OCP): Add since tag to all constants
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
c83a657652
commit
3b0a9e6639
1 changed files with 9 additions and 3 deletions
|
|
@ -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…
Reference in a new issue