@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * This file is part of the Superdesk Web Publisher Templates System. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * This file is part of the Superdesk Web Publisher Templates System. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * This file is part of the Superdesk Web Publisher Templates System. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * This file is part of the Superdesk Web Publisher Templates System. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * This file is part of the Superdesk Web Publisher Templates System. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * This file is part of the Superdesk Web Publisher Templates System. |
@@ -46,6 +46,9 @@ discard block |
||
46 | 46 | $manager->flush(); |
47 | 47 | } |
48 | 48 | |
49 | + /** |
|
50 | + * @param string $env |
|
51 | + */ |
|
49 | 52 | public function loadRoutes($env, ObjectManager $manager) |
50 | 53 | { |
51 | 54 | $routes = [ |
@@ -95,6 +98,10 @@ discard block |
||
95 | 98 | $manager->flush(); |
96 | 99 | } |
97 | 100 | |
101 | + /** |
|
102 | + * @param string $env |
|
103 | + * @param ObjectManager $manager |
|
104 | + */ |
|
98 | 105 | public function setRoutesContent($env, $manager) |
99 | 106 | { |
100 | 107 | $routes = [ |
@@ -118,6 +125,10 @@ discard block |
||
118 | 125 | } |
119 | 126 | } |
120 | 127 | |
128 | + /** |
|
129 | + * @param string $env |
|
130 | + * @param ObjectManager $manager |
|
131 | + */ |
|
121 | 132 | public function loadArticles($env, $manager) |
122 | 133 | { |
123 | 134 | $articles = [ |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * This file is part of the Superdesk Web Publisher Templates System. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /** |
6 | 6 | * This file is part of the Superdesk Web Publisher Templates System. |