@@ -159,6 +159,9 @@ discard block |
||
| 159 | 159 | return $this; |
| 160 | 160 | } |
| 161 | 161 | |
| 162 | + /** |
|
| 163 | + * @param string $viewPath |
|
| 164 | + */ |
|
| 162 | 165 | public function view($viewPath) |
| 163 | 166 | { |
| 164 | 167 | if (is_a($viewPath, ViewInterface::class)) { |
@@ -250,7 +253,7 @@ discard block |
||
| 250 | 253 | } |
| 251 | 254 | |
| 252 | 255 | /** |
| 253 | - * @param null $controller |
|
| 256 | + * @param string|null $controller |
|
| 254 | 257 | * |
| 255 | 258 | * @throws ControllerActionNotFound |
| 256 | 259 | */ |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | * |
| 39 | 39 | * @param mixed $module Указатель на модуль системы * |
| 40 | 40 | * |
| 41 | - * @return \samson\core\Module Текущую / Модель по её имени / или FALSE если модель не найдена |
|
| 41 | + * @return null|samsonphp\core\Module Текущую / Модель по её имени / или FALSE если модель не найдена |
|
| 42 | 42 | * @deprecated Use $this->system->module() in module context |
| 43 | 43 | */ |
| 44 | 44 | function &m($module = NULL) |
@@ -72,7 +72,7 @@ |
||
| 72 | 72 | /** |
| 73 | 73 | * Figure out if module view variable value is correctly set for view output |
| 74 | 74 | * |
| 75 | - * @param \samson\core\iModule $m Pointer to module |
|
| 75 | + * @param null|samsonphp\core\Module $m Pointer to module |
|
| 76 | 76 | * @param string $name View variable name |
| 77 | 77 | * @param mixed $value Value to compare |
| 78 | 78 | * |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | * Core constructor. |
| 82 | 82 | * |
| 83 | 83 | * @param ContainerBuilderInterface $builder Container builder |
| 84 | - * @param ResourceMap|null $map system resources |
|
| 84 | + * @param ResourceMap $map system resources |
|
| 85 | 85 | * @InjectArgument(builder="\samsonframework\container\ContainerBuilderInterface") |
| 86 | 86 | * @InjectArgument(builder="\samsonframework\core\ResourceInterface") |
| 87 | 87 | */ |
@@ -588,6 +588,9 @@ discard block |
||
| 588 | 588 | |
| 589 | 589 | //[PHPCOMPRESSOR(remove,start)] |
| 590 | 590 | |
| 591 | + /** |
|
| 592 | + * @param string $path |
|
| 593 | + */ |
|
| 591 | 594 | protected function createMetadata($class, $name, $path, $scope = 'module') |
| 592 | 595 | { |
| 593 | 596 | $metadata = new ClassMetadata(); |
@@ -818,7 +821,7 @@ discard block |
||
| 818 | 821 | } |
| 819 | 822 | //[PHPCOMPRESSOR(remove,end)] |
| 820 | 823 | |
| 821 | - /** @return \Container Get system container */ |
|
| 824 | + /** @return ContainerInterface Get system container */ |
|
| 822 | 825 | public function getContainer() |
| 823 | 826 | { |
| 824 | 827 | return $this->container; |