Skip to content

Commit

Permalink
changed the position of required and optional(with default values) va…
Browse files Browse the repository at this point in the history
…riables since this is a rule in php 8
  • Loading branch information
AzizKHAN030 committed May 5, 2022
1 parent bc80aa8 commit 16564f3
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions src/Model/Template/Filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,32 +73,32 @@ public function __construct(
CssInliner $cssInliner,
\Magento\Widget\Model\ResourceModel\Widget $widgetResource,
Widget $widget,
$variables = [],
array $directiveProcessors = [],
array $availableFilters,
array $widgetUnescapedParams,
array $widgetCustomParamsHandlers
array $widgetCustomParamsHandlers,
$variables = [],
array $directiveProcessors = []
) {
parent::__construct(
$string,
$logger,
$escaper,
$assetRepo,
$scopeConfig,
$coreVariableFactory,
$storeManager,
$layout,
$layoutFactory,
$appState,
$urlModel,
$configVariables,
$variableResolver,
$cssProcessor,
$pubDirectory,
$cssInliner,
$widgetResource,
$widget,
$variables ?? [],
$logger,
$escaper,
$assetRepo,
$scopeConfig,
$coreVariableFactory,
$storeManager,
$layout,
$layoutFactory,
$appState,
$urlModel,
$configVariables,
$variableResolver,
$cssProcessor,
$pubDirectory,
$cssInliner,
$widgetResource,
$widget,
$variables ?? [],
$directiveProcessors
);

Expand Down

0 comments on commit 16564f3

Please sign in to comment.