File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public function __construct($path, $file = '.env')
3131 /**
3232 * Load `.env` file in given directory.
3333 *
34- * @return void
34+ * @return array
3535 */
3636 public function load ()
3737 {
@@ -43,7 +43,7 @@ public function load()
4343 /**
4444 * Load `.env` file in given directory.
4545 *
46- * @return void
46+ * @return array
4747 */
4848 public function overload ()
4949 {
@@ -53,7 +53,7 @@ public function overload()
5353 }
5454
5555 /**
56- * Returns the full path to the file ensuring that it's readable .
56+ * Returns the full path to the file.
5757 *
5858 * @param string $path
5959 * @param string $file
@@ -72,9 +72,9 @@ protected function getFilePath($path, $file)
7272 }
7373
7474 /**
75- * Required ensures that the specified variables exist, and returns a new Validation object.
75+ * Required ensures that the specified variables exist, and returns a new Validator object.
7676 *
77- * @param mixed $variable
77+ * @param string|string[] $variable
7878 *
7979 * @return \Dotenv\Validator
8080 */
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public function __construct($filePath, $immutable = false)
4444 /**
4545 * Load `.env` file in given directory.
4646 *
47- * @return void
47+ * @return array
4848 */
4949 public function load ()
5050 {
You can’t perform that action at this time.
0 commit comments