apply StyleCI recommendation

This commit is contained in:
El RIDO 2024-05-05 11:16:17 +02:00
parent b00528388f
commit 49bc97e295
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92

View file

@ -166,7 +166,7 @@ class Paste extends AbstractModel
if ($this->_conf->getKey('discussiondatedisplay')) {
return $this->_store->readComments($this->getId());
}
return array_map(function($comment) {
return array_map(function ($comment) {
foreach (array('created', 'postdate') as $key) {
if (array_key_exists($key, $comment['meta'])) {
unset($comment['meta'][$key]);