Completed
Pull Request — master (#37)
by Pavlo
06:15
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
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 
11 11
 use samsonframework\core\SystemInterface;
12 12
 use samsonframework\resource\ResourceMap;
13
-use samsonframework\view\Generator;
14 13
 use samsonphp\config\Scheme;
15 14
 use samsonphp\core\exception\ViewPathNotFound;
16 15
 use samsonphp\event\Event;
Please login to merge, or discard this patch.