@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace LIN3S\WPFoundation\PostTypes; |
| 15 | 15 | |
@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace LIN3S\WPFoundation\Widgets; |
| 15 | 15 | |
@@ -22,6 +22,6 @@ discard block |
||
| 22 | 22 | |
| 23 | 23 | public function __construct() |
| 24 | 24 | { |
| 25 | - add_action('widgets_init', [$this, 'registerSidebar']); |
|
| 25 | + add_action('widgets_init', [ $this, 'registerSidebar' ]); |
|
| 26 | 26 | } |
| 27 | 27 | } |
@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | * file that was distributed with this source code. |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | -declare(strict_types=1); |
|
| 12 | +declare(strict_types = 1); |
|
| 13 | 13 | |
| 14 | 14 | namespace LIN3S\WPFoundation\Widgets; |
| 15 | 15 | |
@@ -20,8 +20,8 @@ discard block |
||
| 20 | 20 | { |
| 21 | 21 | public function __construct(string $id, string $name, string $description) |
| 22 | 22 | { |
| 23 | - parent::__construct($id, $name, ['description' => $description]); |
|
| 24 | - add_action('widgets_init', [$this, 'registerWidget']); |
|
| 23 | + parent::__construct($id, $name, [ 'description' => $description ]); |
|
| 24 | + add_action('widgets_init', [ $this, 'registerWidget' ]); |
|
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | public function name() : string |