Skip to content

Commit

Permalink
php8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
borowiakziehe committed Jun 15, 2022
1 parent 888a6b3 commit 238fba9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Hook/ReplaceInsertTags.php
Expand Up @@ -76,8 +76,8 @@ public function replaceSvgInsertTags($tag)
protected function replaceDefault($iconId, $params = array())
{
$cssClass = 'svg-icon';
$customClass = $params['class'];
$customId = $params['id'];
$customClass = $params['class'] ?? NULL;
$customId = $params['id'] ?? NULL;

// Get all selected SVG files.
$svgFiles = SimpleSvgIcons::getSvgIconFiles();
Expand Down

0 comments on commit 238fba9

Please sign in to comment.