Skip to content

Commit 3e42c25

Browse files
committed
Removed static types for compatibility
1 parent e590706 commit 3e42c25

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/code/Magento/AdminNotification/Block/Grid/Renderer/Actions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function __construct(Context $context, Data $urlHelper, array $data = [])
4545
* @param \Magento\Framework\DataObject $row
4646
* @return string
4747
*/
48-
public function render(DataObject $row) : string
48+
public function render(DataObject $row)
4949
{
5050
$readDetailsHtml = $row->getData('url') ? '<a class="action-details" target="_blank" href="' .
5151
$this->escapeUrl($row->getData('url'))

app/code/Magento/AdminNotification/Block/Grid/Renderer/Notice.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Notice extends AbstractRenderer
2525
* @param \Magento\Framework\DataObject $row
2626
* @return string
2727
*/
28-
public function render(DataObject $row) : string
28+
public function render(DataObject $row)
2929
{
3030
return '<span class="grid-row-title">' .
3131
$this->escapeHtml($row->getData('title')) .

app/code/Magento/AdminNotification/Block/Grid/Renderer/Severity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function __construct(Context $context, Inbox $notice, array $data = [])
4444
* @param \Magento\Framework\DataObject $row
4545
* @return string
4646
*/
47-
public function render(DataObject $row) : string
47+
public function render(DataObject $row)
4848
{
4949
$class = '';
5050
$value = '';

0 commit comments

Comments
 (0)