Skip to content

Commit

Permalink
Declaration of tests setUp()
Browse files Browse the repository at this point in the history
  • Loading branch information
geophysicist committed Jul 5, 2022
1 parent fef6478 commit 631f01a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/QueueTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class QueueTest extends TestCase
*/
protected $queue;

public function setUp()
public function setUp(): void
{
$this->queue = new Queue();

Expand Down
2 changes: 1 addition & 1 deletion tests/StackTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class StackTest extends TestCase
*/
protected $stack;

public function setUp()
public function setUp(): void
{
$this->stack = new Stack();
}
Expand Down

0 comments on commit 631f01a

Please sign in to comment.