diff --git a/tests/StreamTest.php b/tests/StreamTest.php index 341a774..268d727 100644 --- a/tests/StreamTest.php +++ b/tests/StreamTest.php @@ -1,4 +1,4 @@ -handle = \fopen('php://memory', 'r+b'); } - protected function tearDown() + protected function tearDown() : void { - if (\is_resource($this->handle)) - { + if (\is_resource($this->handle)) { \fclose($this->handle); } }