@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Nexendrie\Menu; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Nexendrie\Menu; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Nexendrie\Menu; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Nexendrie\Menu; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Nexendrie\Menu; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Nexendrie\Menu\DI; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Nexendrie\Menu; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Nexendrie\Menu; |
5 | 5 |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | throw new MenuTypeAlreadyDefinedException("Menu type $name is already defined"); |
41 | 41 | } |
42 | 42 | if(!file_exists($template)) { |
43 | - throw new TemplateNotFoundException("File $template does not exist."); |
|
43 | + throw new TemplateNotFoundException("file $template does not exist."); |
|
44 | 44 | } |
45 | 45 | $this->templates[$name] = realpath($template); |
46 | 46 | } |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | return $menu; |
57 | 57 | } |
58 | 58 | } |
59 | - throw new MenuNotFoundException("Menu $menuName not found."); |
|
59 | + throw new MenuNotFoundException("menu $menuName not found."); |
|
60 | 60 | } |
61 | 61 | |
62 | 62 | /** |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Nexendrie\Menu; |
5 | 5 |