Replace New with new

This commit is contained in:
Eric Lippmann 2019-11-27 13:21:15 +01:00
parent 0f6374cb8e
commit 1037f142e5
2 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ class HistoryListItem extends CommonListItem
case 'comment_add':
case 'comment_remove':
$caption->add([
New Icon(Icons::USER),
new Icon(Icons::USER),
$this->item->comment->author,
': ',
$this->item->comment->comment
@ -36,7 +36,7 @@ class HistoryListItem extends CommonListItem
case 'downtime_end':
case 'downtime_start':
$caption->add([
New Icon(Icons::USER),
new Icon(Icons::USER),
$this->item->downtime->author,
': ',
$this->item->downtime->comment
@ -48,7 +48,7 @@ class HistoryListItem extends CommonListItem
if (! empty($this->item->notification->author)) {
$caption->prepend([
New Icon(Icons::USER),
new Icon(Icons::USER),
$this->item->notification->author,
': '
]);

View file

@ -38,7 +38,7 @@ class NotificationListItem extends CommonListItem
$caption->add($this->item->text);
} else {
$caption->add([
New Icon(Icons::USER),
new Icon(Icons::USER),
$this->item->author,
': ',
$this->item->text