1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-19 23:56:17 +02:00

Removed obsolete var_export(). Made construction argument validation tests simpler and more readable.

This commit is contained in:
kolja
2016-01-15 20:21:02 +01:00
parent 1be08de729
commit f13011e03e
2 changed files with 4 additions and 15 deletions

View File

@@ -115,7 +115,7 @@ class ProcessHandler extends AbstractProcessingHandler
$errors = $this->readProcessErrors();
if (empty($errors) === false) {
throw new \UnexpectedValueException('Errors while writing to process: ' . var_export($errors, true));
throw new \UnexpectedValueException(sprintf('Errors while writing to process: %s', $errors));
}
}