@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | * greater than or equal to this version, a message will be raised |
76 | 76 | * |
77 | 77 | * @static |
78 | - * @param $ver string - |
|
78 | + * @param string $ver string - |
|
79 | 79 | * A php standard version string, see http://php.net/manual/en/function.version-compare.php for details. |
80 | 80 | * @param null $forModule string - |
81 | 81 | * The name of a module. The passed version will be used as the check value for |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | /** |
142 | 142 | * Determine if deprecation notices should be displayed |
143 | 143 | * |
144 | - * @return bool |
|
144 | + * @return boolean|string |
|
145 | 145 | */ |
146 | 146 | public static function get_enabled() |
147 | 147 | { |
@@ -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 | { |