apply StyleCI recommendation

This commit is contained in:
El RIDO
2024-05-05 11:16:17 +02:00
parent b00528388f
commit 49bc97e295
+1 -1
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]);