mirror of
https://github.com/nextcloud/server.git
synced 2026-02-18 18:28:50 -05:00
fix: Fix phpdoc typing for IL10N::l $data parameter
The implementation supports passing null and our code is using that, reflect it in the public API. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
73447618e7
commit
fc85555d0c
2 changed files with 2 additions and 2 deletions
|
|
@ -117,7 +117,7 @@ class L10N implements IL10N {
|
|||
/**
|
||||
* Localization
|
||||
* @param string $type Type of localization
|
||||
* @param \DateTime|int|string $data parameters for this localization
|
||||
* @param \DateTime|int|string|null $data parameters for this localization
|
||||
* @param array $options
|
||||
* @return string|int|false
|
||||
*
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ interface IL10N {
|
|||
/**
|
||||
* Localization
|
||||
* @param string $type Type of localization
|
||||
* @param \DateTime|int|string $data parameters for this localization
|
||||
* @param \DateTime|int|string|null $data parameters for this localization
|
||||
* @param array $options currently supports following options:
|
||||
* - 'width': handed into \Punic\Calendar::formatDate as second parameter
|
||||
* @return string|int|false
|
||||
|
|
|
|||
Loading…
Reference in a new issue