Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4666c82

Browse files
xjchengoGraham Campbell
authored andcommitted
Fixed phpdoc
Closes vlucas#93 Signed-off-by: Graham Campbell <[email protected]>
1 parent 9106429 commit 4666c82

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/Dotenv.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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
*/

src/Loader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
{

0 commit comments

Comments
 (0)