mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Add reference links to docblock
This commit is contained in:
parent
850edf47a0
commit
31c7b01c3a
1 changed files with 2 additions and 1 deletions
|
@ -311,7 +311,8 @@ class I18n {
|
||||||
* @param string $header Type
|
* @param string $header Type
|
||||||
* @param int $n Number
|
* @param int $n Number
|
||||||
* @return int plural match
|
* @return int plural match
|
||||||
* @see
|
* @link http://localization-guide.readthedocs.org/en/latest/l10n/pluralforms.html
|
||||||
|
* @link https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_and_Plurals#List_of_Plural_Rules
|
||||||
*/
|
*/
|
||||||
protected function _pluralGuess($header, $n) {
|
protected function _pluralGuess($header, $n) {
|
||||||
if (!is_string($header) || $header === "nplurals=1;plural=0;" || !isset($header[0])) {
|
if (!is_string($header) || $header === "nplurals=1;plural=0;" || !isset($header[0])) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue