Passed
Push — master ( 093472...d84877 )
by
unknown
26:06
created
Gui/src/Spryker/Zed/Gui/Communication/Plugin/Twig/ModalTwigPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      */
47 47
     protected function getZedModalFunction(Environment $twig): TwigFunction
48 48
     {
49
-        return new TwigFunction(static::FUNCTION_NAME_MODAL, function (string $title, string $content, ?string $footer = null, ?array $extraData = null) use ($twig) {
49
+        return new TwigFunction(static::FUNCTION_NAME_MODAL, function(string $title, string $content, ?string $footer = null, ?array $extraData = null) use ($twig) {
50 50
             return $twig->render(
51 51
                 $this->getConfig()->getDefaultModalTemplatePath(),
52 52
                 [
Please login to merge, or discard this patch.
Gui/src/Spryker/Zed/Gui/Communication/Plugin/Twig/ListGroupTwigPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      */
47 47
     protected function getZedListGroupFunction(Environment $twig): TwigFunction
48 48
     {
49
-        return new TwigFunction(static::FUNCTION_NAME_LIST_GROUP, function (array $items) use ($twig) {
49
+        return new TwigFunction(static::FUNCTION_NAME_LIST_GROUP, function(array $items) use ($twig) {
50 50
             if (is_array(array_values($items)[0])) {
51 51
                 return $twig->render(
52 52
                     $this->getConfig()->getDefaultMultiListGroupTemplatePath(),
Please login to merge, or discard this patch.
Gui/src/Spryker/Zed/Gui/Communication/Plugin/Twig/AssetsPathTwigPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      */
45 45
     protected function getZedAssetsPathFunction(): TwigFunction
46 46
     {
47
-        return new TwigFunction(static::FUNCTION_NAME_ASSETS_PATH, function (string $path) {
47
+        return new TwigFunction(static::FUNCTION_NAME_ASSETS_PATH, function(string $path) {
48 48
             return $this->getZedAssetsPathByName($path);
49 49
         }, ['is_safe' => ['html']]);
50 50
     }
Please login to merge, or discard this patch.
Gui/src/Spryker/Zed/Gui/Communication/Plugin/Twig/PanelTwigPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      */
47 47
     protected function getZedPanelFunction(Environment $twig): TwigFunction
48 48
     {
49
-        return new TwigFunction(static::FUNCTION_NAME_PANEL, function (string $title, string $content, ?array $options = null, ?string $footer = null) use ($twig) {
49
+        return new TwigFunction(static::FUNCTION_NAME_PANEL, function(string $title, string $content, ?array $options = null, ?string $footer = null) use ($twig) {
50 50
             $defaultOptions = [
51 51
                 'class' => 'default',
52 52
                 'id' => false,
Please login to merge, or discard this patch.
Gui/src/Spryker/Zed/Gui/Communication/Plugin/Twig/TabsTwigPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
      */
48 48
     protected function getTabsFunction(Environment $twig): TwigFunction
49 49
     {
50
-        return new TwigFunction(static::FUNCTION_NAME_TABS, function (Environment $twig, TabsViewTransfer $tabsViewTransfer, array $context = []) {
50
+        return new TwigFunction(static::FUNCTION_NAME_TABS, function(Environment $twig, TabsViewTransfer $tabsViewTransfer, array $context = []) {
51 51
             $context['tabsViewTransfer'] = $tabsViewTransfer;
52 52
 
53 53
             return $twig->render($this->getConfig()->getTabsDefaultTemplatePath(), $context);
Please login to merge, or discard this patch.
Gui/src/Spryker/Zed/Gui/Communication/Plugin/Twig/UrlDecodeTwigPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      */
46 46
     protected function getUrlDecodeFunction(): TwigFunction
47 47
     {
48
-        return new TwigFunction(static::FUNCTION_NAME_URL_DECODE, function (string $url) {
48
+        return new TwigFunction(static::FUNCTION_NAME_URL_DECODE, function(string $url) {
49 49
             return urldecode($url);
50 50
         }, ['is_safe' => ['html']]);
51 51
     }
Please login to merge, or discard this patch.
Spryker/Zed/Gui/Communication/Plugin/Twig/Buttons/ButtonGroupTwigPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
      */
45 45
     protected function getButtonGroupFunction(): TwigFunction
46 46
     {
47
-        return new TwigFunction(static::FUNCTION_NAME_GROUP_ACTION_BUTTONS, function (array $buttons, string $title, array $options = []) {
47
+        return new TwigFunction(static::FUNCTION_NAME_GROUP_ACTION_BUTTONS, function(array $buttons, string $title, array $options = []) {
48 48
             if (!array_key_exists(ButtonGroupUrlGenerator::ICON, $options)) {
49 49
                 $options[ButtonGroupUrlGenerator::ICON] = $this->getDefaultIcon();
50 50
             }
Please login to merge, or discard this patch.
Zed/Gui/Communication/Plugin/Twig/Buttons/Form/SubmitButtonTwigPlugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      */
47 47
     protected function getZedSubmitButtonFunction(Environment $twig): TwigFunction
48 48
     {
49
-        return new TwigFunction(static::FUNCTION_NAME_SUBMIT_BUTTON, function (string $value, array $attr = []) use ($twig) {
49
+        return new TwigFunction(static::FUNCTION_NAME_SUBMIT_BUTTON, function(string $value, array $attr = []) use ($twig) {
50 50
             return $twig->render(
51 51
                 $this->getConfig()->getSubmitButtonDefaultTemplatePath(),
52 52
                 [
Please login to merge, or discard this patch.
Spryker/Zed/Gui/Communication/Plugin/Twig/Buttons/AbstractButtonTwig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
      */
62 62
     protected function getButtonGroupFunction(): TwigFunction
63 63
     {
64
-        return new TwigFunction($this->getFunctionName(), function ($url, $title, $options = []) {
64
+        return new TwigFunction($this->getFunctionName(), function($url, $title, $options = []) {
65 65
             if (!array_key_exists(ButtonUrlGenerator::ICON, $options)) {
66 66
                 $options[ButtonUrlGenerator::ICON] = $this->getIcon();
67 67
             }
Please login to merge, or discard this patch.