Completed
Push — master ( 884f37...c91013 )
by
unknown
10:12
created
src/Module.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,6 +159,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
250 253
     }
251 254
 
252 255
     /**
253
-     * @param null $controller
256
+     * @param string|null $controller
254 257
      *
255 258
      * @throws ControllerActionNotFound
256 259
      */
Please login to merge, or discard this patch.
src/shortcuts.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/View.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
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
  *
Please login to merge, or discard this patch.
src/Core.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.