Browse Source

Merge pull request #13774 from cakephp/master-docblock

Fix docblock
Mark Story 6 years ago
parent
commit
bbb7c8d2ff
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Core/functions.php

+ 1 - 1
src/Core/functions.php

@@ -194,7 +194,7 @@ if (!function_exists('env')) {
      * environment information.
      *
      * @param string $key Environment variable name.
-     * @param string|null $default Specify a default value in case the environment variable is not defined.
+     * @param string|bool|null $default Specify a default value in case the environment variable is not defined.
      * @return string|bool|null Environment variable setting.
      * @link https://book.cakephp.org/3.0/en/core-libraries/global-constants-and-functions.html#env
      */