Skip to content

Commit

Permalink
Update OCP
Browse files Browse the repository at this point in the history
  • Loading branch information
nextcloud-command committed Nov 11, 2024
1 parent 7c4c133 commit 2c8c97d
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion OCP/RichObjectStrings/IValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,36 @@
/**
* Class Validator
*
* @psalm-type RichObjectParameter = array{
* type: string,
* id: string,
* name: string,
* server?: string,
* link?: string,
* 'call-type'?: 'one2one'|'group'|'public',
* 'icon-url'?: string,
* 'message-id'?: string,
* boardname?: string,
* stackname?: string,
* size?: string,
* path?: string,
* mimetype?: string,
* 'preview-available'?: 'yes'|'no',
* mtime?: string,
* latitude?: string,
* longitude?: string,
* description?: string,
* thumb?: string,
* website?: string,
* visibility?: '0'|'1',
* assignable?: '0'|'1',
* conversation?: string,
* etag?: string,
* permissions?: string,
* width?: string,
* height?: string,
* }
*
* @since 11.0.0
*/
interface IValidator {
Expand All @@ -22,7 +52,7 @@ interface IValidator {

/**
* @param string $subject
* @param array<non-empty-string, array<non-empty-string, string>> $parameters
* @param array<non-empty-string, RichObjectParameter> $parameters
* @throws InvalidObjectExeption
* @since 11.0.0
*/
Expand Down

0 comments on commit 2c8c97d

Please sign in to comment.