@@ -25,7 +25,7 @@ |
||
| 25 | 25 | */ |
| 26 | 26 | public function components() |
| 27 | 27 | { |
| 28 | - return []; |
|
| 28 | + return [ ]; |
|
| 29 | 29 | } |
| 30 | 30 | |
| 31 | 31 | /** |
@@ -42,13 +42,13 @@ |
||
| 42 | 42 | |
| 43 | 43 | function it_should_return_templates() |
| 44 | 44 | { |
| 45 | - $this->templates(['my-template' => 'MyTemplate'])->shouldReturn([ |
|
| 45 | + $this->templates([ 'my-template' => 'MyTemplate' ])->shouldReturn([ |
|
| 46 | 46 | 'my-template' => 'MyTemplate', 'dummy-template' => 'DummyTemplate', |
| 47 | 47 | ]); |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | function it_should_return_context() |
| 51 | 51 | { |
| 52 | - $this->context(['heder-menu' => 'Header Menu'])->shouldReturn(['heder-menu' => 'Header Menu']); |
|
| 52 | + $this->context([ 'heder-menu' => 'Header Menu' ])->shouldReturn([ 'heder-menu' => 'Header Menu' ]); |
|
| 53 | 53 | } |
| 54 | 54 | } |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | { |
| 30 | 30 | parent::__construct($id, $name, $description); |
| 31 | 31 | |
| 32 | - add_action('widgets_init', [$this, 'register']); |
|
| 32 | + add_action('widgets_init', [ $this, 'register' ]); |
|
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | /** |