Completed
Pull Request — master (#4)
by
unknown
05:09
created
system/Inji/Module.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      * Get all posible directorys for module files
82 82
      * 
83 83
      * @param string $moduleName
84
-     * @return array
84
+     * @return string
85 85
      */
86 86
     public static function getModulePaths($moduleName)
87 87
     {
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      * Get installed modules for app
132 132
      * 
133 133
      * @param \App $app
134
-     * @param boolean|\App $primary
134
+     * @param App $primary
135 135
      * @return array
136 136
      */
137 137
     public static function getInstalled($app, $primary = false)
Please login to merge, or discard this patch.
system/Inji/Model.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -357,7 +357,7 @@  discard block
 block discarded – undo
357 357
     /**
358 358
      * Information extractor for col relations path
359 359
      * 
360
-     * @param string|array $info
360
+     * @param string $info
361 361
      * @return array
362 362
      */
363 363
     public static function parseColRecursion($info)
@@ -433,7 +433,7 @@  discard block
 block discarded – undo
433 433
      * Generate params string for col by name
434 434
      * 
435 435
      * @param string $colName
436
-     * @return boolean|string
436
+     * @return false|string
437 437
      */
438 438
     public static function genColParams($colName)
439 439
     {
@@ -573,7 +573,7 @@  discard block
 block discarded – undo
573 573
     /**
574 574
      * return relations list
575 575
      * 
576
-     * @return array
576
+     * @return string
577 577
      */
578 578
     public static function relations()
579 579
     {
@@ -1065,7 +1065,7 @@  discard block
 block discarded – undo
1065 1065
      * 
1066 1066
      * @param array $params
1067 1067
      * @param array $where
1068
-     * @return boolean
1068
+     * @return false|null
1069 1069
      */
1070 1070
     public static function update($params, $where = [])
1071 1071
     {
Please login to merge, or discard this patch.
system/modules/Ui/objects/DataManager.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      * Construct new data manager
29 29
      * 
30 30
      * @param string $modelName
31
-     * @param string|array $dataManager
31
+     * @param string $dataManager
32 32
      * @throws Exception
33 33
      */
34 34
     public function __construct($modelName, $dataManager = 'manager')
@@ -330,6 +330,9 @@  discard block
 block discarded – undo
330 330
         return $rows;
331 331
     }
332 332
 
333
+    /**
334
+     * @param DataManager $dataManager
335
+     */
333 336
     public static function drawCol($item, $colName, $params = [], $dataManager = null, $originalCol = '', $originalItem = null)
334 337
     {
335 338
         $modelName = get_class($item);
Please login to merge, or discard this patch.
system/modules/Users/Users.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -92,6 +92,9 @@  discard block
 block discarded – undo
92 92
         }
93 93
     }
94 94
 
95
+    /**
96
+     * @param string $user_mail
97
+     */
95 98
     public function passre($user_mail)
96 99
     {
97 100
         $user = $this->get($user_mail, 'mail');
@@ -322,6 +325,9 @@  discard block
 block discarded – undo
322 325
         return $user->id;
323 326
     }
324 327
 
328
+    /**
329
+     * @param string $pass
330
+     */
325 331
     public function hashpass($pass)
326 332
     {
327 333
         return password_hash($pass, PASSWORD_DEFAULT);
@@ -359,6 +365,9 @@  discard block
 block discarded – undo
359 365
         return $return;
360 366
     }
361 367
 
368
+    /**
369
+     * @param integer $cat_id
370
+     */
362 371
     public function addUserActivity($user_id, $cat_id , $text = '')
363 372
     {
364 373
         $ua = new Users\Activity([
Please login to merge, or discard this patch.
system/modules/YandexExport/appControllers/YandexExportController.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -11,6 +11,11 @@
 block discarded – undo
11 11
 {
12 12
     function indexAction()
13 13
     {
14
+
15
+        /**
16
+         * @param DOMDocument $xml
17
+         * @param string $nodeName
18
+         */
14 19
         function addToXml($xml, $parent, $nodeName, $text)
15 20
         {
16 21
             $node = $parent->appendChild($xml->createElement($nodeName));
Please login to merge, or discard this patch.