Project PR

suggestion po, you may refactor this to improve readability :bow:
```php
$params = array('level' => $this->level);
if (...) {
    $params['updated'] = date(..);
}