Skip to content

Commit c5b4fdc

Browse files
committed
API Typo
1 parent 28e42fa commit c5b4fdc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/ErrorHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,12 @@ public function logVariables(): bool
133133
return $this->logVariables;
134134
}
135135

136-
public function setScreamSilencesErrors(array $scream): void
136+
public function setScreamSilencedErrors(array $scream): void
137137
{
138138
$this->scream = $scream;
139139
}
140140

141-
public function getScreamSilencesErrors(): array
141+
public function getScreamSilencedErrors(): array
142142
{
143143
return $this->scream;
144144
}

tests/ErrorHandlerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ public function testScream()
9494
\E_USER_WARNING => true,
9595
);
9696

97-
$this->assertEmpty($this->errorHandler->getScreamSilencesErrors());
98-
$this->errorHandler->setScreamSilencesErrors($scream);
99-
$this->assertSame($scream, $this->errorHandler->getScreamSilencesErrors());
97+
$this->assertEmpty($this->errorHandler->getScreamSilencedErrors());
98+
$this->errorHandler->setScreamSilencedErrors($scream);
99+
$this->assertSame($scream, $this->errorHandler->getScreamSilencedErrors());
100100

101101
$this->errorHandler->register();
102102

0 commit comments

Comments
 (0)