Skip to content

Commit

Permalink
Issue #3367151 by marvil07, Anchal_gupta, xjm, smustgrave, larowlan, …
Browse files Browse the repository at this point in the history
…longwave, dpi: Docs on return type on two media constraints are misleading

(cherry picked from commit 27c6d95)
  • Loading branch information
xjm committed Dec 5, 2023
1 parent 263ce2a commit a848e05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ interface MediaSourceEntityConstraintsInterface extends MediaSourceInterface {
* Gets media source-specific validation constraints for a media item.
*
* @return \Symfony\Component\Validator\Constraint[]
* An array of validation constraint definitions, keyed by constraint name.
* An array of validation constraint definitions, keyed by plugin IDs. The
* corresponding values are options for each validation plugin.
* Each constraint definition can be used for instantiating
* \Symfony\Component\Validator\Constraint objects.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ interface MediaSourceFieldConstraintsInterface extends MediaSourceInterface {
* Gets media source-specific validation constraints for a source field.
*
* @return \Symfony\Component\Validator\Constraint[]
* An array of validation constraint definitions, keyed by constraint name.
* An array of validation constraint definitions, keyed by plugin IDs. The
* corresponding values are options for each validation plugin.
* Each constraint definition can be used for instantiating
* \Symfony\Component\Validator\Constraint objects.
*/
Expand Down

0 comments on commit a848e05

Please sign in to comment.