Skip to content

Commit

Permalink
Merge pull request #2 from cspray/task/fix-docs
Browse files Browse the repository at this point in the history
Improve quick start to reference correct API
  • Loading branch information
cspray authored May 15, 2023
2 parents 950a9da + 0937d15 commit f9fe026
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class MyLoggerTest extends TestCase {
private Buffer $stderr;

private MyLogger $subject;

protected function setUp() : void{
StreamFilter::register();
$this->stdout = StreamFilter::intercept(STDOUT);
Expand All @@ -59,8 +59,8 @@ class MyLoggerTest extends TestCase {
}

protected function tearDown() : void{
StreamFilter::stopIntercepting($this->stdout);
StreamFilter::stopIntercepting($this->stderr);
$this->stdout->stopIntercepting();
$this->stderr->stopIntercepting();
}

public function testLogMessageSentToStdOutAndNotStdErr() : void {
Expand Down

0 comments on commit f9fe026

Please sign in to comment.