From 45a81c1eeb0c663cd645666c9b76e853ae71d7a3 Mon Sep 17 00:00:00 2001 From: simialbi Date: Mon, 22 Mar 2021 09:43:58 +0100 Subject: [PATCH] Minified SVGs (#18573) --- framework/grid/ActionColumn.php | 6 +++--- tests/framework/grid/ActionColumnTest.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/framework/grid/ActionColumn.php b/framework/grid/ActionColumn.php index 0e58e04..e8dbfed 100644 --- a/framework/grid/ActionColumn.php +++ b/framework/grid/ActionColumn.php @@ -99,9 +99,9 @@ class ActionColumn extends Column * @see https://fontawesome.com */ public $icons = [ - 'eye-open' => '', - 'pencil' => '', - 'trash' => '' + 'eye-open' => '', + 'pencil' => '', + 'trash' => '' ]; /** @var array visibility conditions for each button. The array keys are the button names (without curly brackets), * and the values are the boolean true/false or the anonymous function. When the button name is not specified in diff --git a/tests/framework/grid/ActionColumnTest.php b/tests/framework/grid/ActionColumnTest.php index 8a707c1..6d679a6 100644 --- a/tests/framework/grid/ActionColumnTest.php +++ b/tests/framework/grid/ActionColumnTest.php @@ -42,9 +42,9 @@ class ActionColumnTest extends \yiiunit\TestCase return 'http://test.com'; }; $columnContents = $column->renderDataCell(['id' => 1], 1, 0); - $viewButton = ''; - $updateButton = ''; - $deleteButton = ''; + $viewButton = ''; + $updateButton = ''; + $deleteButton = ''; $expectedHtml = "$viewButton $updateButton $deleteButton"; $this->assertEquals($expectedHtml, $columnContents);