@@ -34,7 +34,7 @@ |
||
| 34 | 34 | */ |
| 35 | 35 | public function __construct(array $formWrappers = []) |
| 36 | 36 | { |
| 37 | - $this->formWrappers = array_map(function (FormWrapper $formWrapper) { |
|
| 37 | + $this->formWrappers = array_map(function(FormWrapper $formWrapper) { |
|
| 38 | 38 | return $formWrapper; |
| 39 | 39 | }, $formWrappers); |
| 40 | 40 | } |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | $this->storage = new YamlStorage(); // TODO: This is hardcoded for now |
| 57 | 57 | $this->formWrapperRegistry = $formWrapperRegistry; |
| 58 | 58 | $this->forms = []; |
| 59 | - add_filter('set-screen-option', function ($status, $option, $value) { |
|
| 59 | + add_filter('set-screen-option', function($status, $option, $value) { |
|
| 60 | 60 | return $value; |
| 61 | 61 | }, 10, 3); |
| 62 | 62 | |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | ) |
| 105 | 105 | ); |
| 106 | 106 | |
| 107 | - $subMenu = add_submenu_page('symfony-form', $name, $name, 'manage_options', $slug, function () use ($view) { |
|
| 107 | + $subMenu = add_submenu_page('symfony-form', $name, $name, 'manage_options', $slug, function() use ($view) { |
|
| 108 | 108 | $view->display(); |
| 109 | 109 | }); |
| 110 | 110 | add_action("load-$subMenu", [$view, 'screenOptions']); |