Skip to content

Commit bd27bb7

Browse files
CS fixes
1 parent 566e97a commit bd27bb7

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

tests/Dotenv/LoaderTest.php

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ public function setUp()
1717
$this->immutableLoader = new Loader($this->fixturesFolder, true);
1818
}
1919

20-
// @see keyVal()
2120
protected $keyVal;
2221

2322
/**
@@ -27,7 +26,7 @@ public function setUp()
2726
* and values, we have this utility function to help generate new, unique
2827
* key/value pairs.
2928
*
30-
* @param boolean $reset
29+
* @param bool $reset
3130
* If true, a new pair will be generated. If false, the last returned pair
3231
* will be returned.
3332
*
@@ -45,33 +44,26 @@ protected function keyVal($reset = false)
4544
/**
4645
* Returns the key from keyVal(), without reset.
4746
*
48-
* @see keyVal()
49-
*
5047
* @return string
5148
*/
5249
protected function key()
5350
{
5451
$keyVal = $this->keyVal();
52+
5553
return key($keyVal);
5654
}
5755

5856
/**
5957
* Returns the value from keyVal(), without reset.
6058
*
61-
* @see keyVal()
62-
*
6359
* @return string
6460
*/
6561
protected function value() {
6662
$keyVal = $this->keyVal();
63+
6764
return reset($keyVal);
6865
}
6966

70-
/**
71-
* Tests that the mutable loader can clear environment variables.
72-
*
73-
* @return void
74-
*/
7567
public function testMutableLoaderClearsEnvironmentVars()
7668
{
7769
// Set an environment variable.
@@ -85,11 +77,6 @@ public function testMutableLoaderClearsEnvironmentVars()
8577
$this->assertSame(false, isset($_SERVER[$this->key()]));
8678
}
8779

88-
/**
89-
* Tests the immutable loader cannot clear environment variables.
90-
*
91-
* @return void
92-
*/
9380
public function testImmutableLoaderCannotClearEnvironmentVars()
9481
{
9582
// Set an environment variable.

0 commit comments

Comments
 (0)