Skip to content

Commit

Permalink
StreamHandler::customErrorHandler as protected
Browse files Browse the repository at this point in the history
  • Loading branch information
corentin-cres committed Mar 31, 2024
1 parent 479c936 commit 8971285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Monolog/Handler/StreamHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ protected function streamWrite($stream, LogRecord $record): void
fwrite($stream, (string) $record->formatted);
}

private function customErrorHandler(int $code, string $msg): bool
protected function customErrorHandler(int $code, string $msg): bool
{
$this->errorMessage = preg_replace('{^(fopen|mkdir)\(.*?\): }', '', $msg);

Expand Down

0 comments on commit 8971285

Please sign in to comment.