@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | /** @var string Path to main system template */ |
| 75 | 75 | protected $template_path = __SAMSON_DEFAULT_TEMPLATE; |
| 76 | 76 | |
| 77 | - /** @return \Container Get system container */ |
|
| 77 | + /** @return ContainerInterface Get system container */ |
|
| 78 | 78 | public function getContainer() |
| 79 | 79 | { |
| 80 | 80 | return $this->container; |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | * Core constructor. |
| 85 | 85 | * |
| 86 | 86 | * @param ContainerBuilderInterface $builder Container builder |
| 87 | - * @param ResourceMap|null $map system resources |
|
| 87 | + * @param ResourceMap $map system resources |
|
| 88 | 88 | * @InjectArgument(builder="\samsonframework\container\ContainerBuilderInterface") |
| 89 | 89 | * @InjectArgument(builder="\samsonframework\core\ResourceInterface") |
| 90 | 90 | */ |
@@ -780,6 +780,9 @@ discard block |
||
| 780 | 780 | return array('module_stack', 'render_mode'); |
| 781 | 781 | } |
| 782 | 782 | |
| 783 | + /** |
|
| 784 | + * @param string $path |
|
| 785 | + */ |
|
| 783 | 786 | protected function createMetadata($class, $name, $path, $scope = 'module') |
| 784 | 787 | { |
| 785 | 788 | $metadata = new ClassMetadata(); |