Completed
Push — master ( e7da61...252753 )
by Vitaly
08:53
created
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 samson\core\Module|null $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/Module.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use samsonphp\core\exception\ControllerActionNotFound;
8 8
 use samsonphp\core\exception\ViewPathNotFound;
9 9
 use samsonphp\core\exception\ViewVariableNotFound;
10
-use Symfony\Component\Config\Definition\Exception\Exception;
11 10
 
12 11
 /**
13 12
  * Модуль системы
Please login to merge, or discard this 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/Core.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -524,7 +524,7 @@
 block discarded – undo
524 524
      * @param string $path       Path for module loading
525 525
      * @param array  $parameters Collection of loading parameters
526 526
      *
527
-     * @return $this|bool
527
+     * @return Core
528 528
      * @throws \samsonphp\core\exception\CannotLoadModule
529 529
      */
530 530
     public function load($path, $parameters = array())
Please login to merge, or discard this patch.