@@ -2000,12 +2000,6 @@ discard block |
||
2000 | 2000 | * @param string $entity Entity that identifies the string. It must be in the form |
2001 | 2001 | * "Namespace.Entity" where Namespace will be usually the class name where this |
2002 | 2002 | * string is used and Entity identifies the string inside the namespace. |
2003 | - * @param mixed $arg,... Additional arguments are parsed as such: |
|
2004 | - * - Next string argument is a default. Pass in a `|` pipe-delimited value with `{count}` |
|
2005 | - * to do pluralisation. |
|
2006 | - * - Any other string argument after default is context for i18nTextCollector |
|
2007 | - * - Any array argument in any order is an injection parameter list. Pass in a `count` |
|
2008 | - * injection parameter to pluralise. |
|
2009 | 2003 | * @return string |
2010 | 2004 | */ |
2011 | 2005 | public static function _t($entity, $arg = null) |
@@ -2209,7 +2203,7 @@ discard block |
||
2209 | 2203 | * |
2210 | 2204 | * @see get_locale_name() |
2211 | 2205 | * |
2212 | - * @param mixed $code Language code |
|
2206 | + * @param string $code Language code |
|
2213 | 2207 | * @param boolean $native If true, the native name will be returned |
2214 | 2208 | * @return string Name of the language |
2215 | 2209 | */ |
@@ -942,7 +942,7 @@ discard block |
||
942 | 942 | /** |
943 | 943 | * Returns true if the given file exists. Filename should be relative to the site root. |
944 | 944 | * |
945 | - * @param $file |
|
945 | + * @param string $file |
|
946 | 946 | * |
947 | 947 | * @return bool |
948 | 948 | */ |
@@ -1175,7 +1175,7 @@ discard block |
||
1175 | 1175 | * Can also be checked with {@link Director::isDev()}, {@link Director::isTest()}, and |
1176 | 1176 | * {@link Director::isLive()}. |
1177 | 1177 | * |
1178 | - * @return bool|string |
|
1178 | + * @return string|false |
|
1179 | 1179 | */ |
1180 | 1180 | public static function get_environment_type() |
1181 | 1181 | { |