1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 17:16:18 +02:00
This commit is contained in:
Jordi Boggiano
2013-12-26 11:43:12 +01:00
parent cf2e93b1c3
commit 3926d95f8a
9 changed files with 30 additions and 33 deletions

View File

@@ -75,7 +75,7 @@ class DynamoDbHandler extends AbstractProcessingHandler
*/
protected function filterEmptyFields(array $record)
{
return array_filter($record, function($value) {
return array_filter($record, function ($value) {
return !empty($value) || false === $value || 0 === $value;
});
}