Completed
Push — master ( cb74f2...e999e7 )
by Alexey
11:34 queued 05:03
created
system/modules/View/View.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -147,6 +147,9 @@  discard block
 block discarded – undo
147 147
         return $result[1];
148 148
     }
149 149
 
150
+    /**
151
+     * @param string $source
152
+     */
150 153
     function parseSource($source)
151 154
     {
152 155
         $tags = $this->parseRaw($source);
@@ -190,6 +193,9 @@  discard block
 block discarded – undo
190 193
         return substr($source, ( $pos + strlen($rawTag) + 2));
191 194
     }
192 195
 
196
+    /**
197
+     * @param string $type
198
+     */
193 199
     function getHref($type, $params)
194 200
     {
195 201
         $href = '';
@@ -531,6 +537,9 @@  discard block
 block discarded – undo
531 537
         echo round(( microtime(true) - INJI_TIME_START), 4);
532 538
     }
533 539
 
540
+    /**
541
+     * @param string $type
542
+     */
534 543
     function customAsset($type, $asset, $lib = false)
535 544
     {
536 545
         if (!$lib) {
@@ -549,6 +558,9 @@  discard block
 block discarded – undo
549 558
         }
550 559
     }
551 560
 
561
+    /**
562
+     * @param string $lineParams
563
+     */
552 564
     function widget($_widgetName, $_params = [], $lineParams = null)
553 565
     {
554 566
         $_paths = $this->getWidgetPaths($_widgetName);
Please login to merge, or discard this patch.
system/objects/CodeGenerator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -31,6 +31,9 @@
 block discarded – undo
31 31
         return $return;
32 32
     }
33 33
 
34
+    /**
35
+     * @param string $path
36
+     */
34 37
     static function parseClass($path)
35 38
     {
36 39
         $code = file_get_contents($path);
Please login to merge, or discard this patch.
system/objects/CodeGenerator/ClassGenerator.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@  discard block
 block discarded – undo
18 18
     public $name = 'class';
19 19
     public $extends = '';
20 20
 
21
+    /**
22
+     * @param string $name
23
+     */
21 24
     function addProperty($name, $value = null, $static = false, $security = 'public')
22 25
     {
23 26
         $this->propertys[$name] = new Property();
@@ -27,6 +30,9 @@  discard block
 block discarded – undo
27 30
         $this->propertys[$name]->security = $security;
28 31
     }
29 32
 
33
+    /**
34
+     * @param string $name
35
+     */
30 36
     function addMethod($name, $body = '', $propertys = [], $static = false, $security = 'public')
31 37
     {
32 38
         $this->methods[$name] = new Method();
Please login to merge, or discard this patch.
system/objects/IdnaConvert.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      * the constructor
90 90
      *
91 91
      * @param array $options
92
-     * @return boolean
92
+     * @return boolean|null
93 93
      * @since 0.5.2
94 94
      */
95 95
     public function __construct($options = false)
@@ -388,7 +388,7 @@  discard block
 block discarded – undo
388 388
     /**
389 389
      * Use this method to get the last error ocurred
390 390
      * @param    void
391
-     * @return   string   The last error, that occured
391
+     * @return   boolean   The last error, that occured
392 392
      */
393 393
     public function get_last_error()
394 394
     {
@@ -398,7 +398,7 @@  discard block
 block discarded – undo
398 398
     /**
399 399
      * The actual decoding algorithm
400 400
      * @param string
401
-     * @return mixed
401
+     * @return false|string
402 402
      */
403 403
     protected function _decode($encoded)
404 404
     {
@@ -455,7 +455,7 @@  discard block
 block discarded – undo
455 455
     /**
456 456
      * The actual encoding algorithm
457 457
      * @param  string
458
-     * @return mixed
458
+     * @return false|string
459 459
      */
460 460
     protected function _encode($decoded)
461 461
     {
@@ -675,7 +675,7 @@  discard block
 block discarded – undo
675 675
      * Decomposes a Hangul syllable
676 676
      * (see http://www.unicode.org/unicode/reports/tr15/#Hangul
677 677
      * @param    integer  32bit UCS4 code point
678
-     * @return   array    Either Hangul Syllable decomposed or original 32bit value as one value array
678
+     * @return   integer[]    Either Hangul Syllable decomposed or original 32bit value as one value array
679 679
      */
680 680
     protected function _hangul_decompose($char)
681 681
     {
Please login to merge, or discard this patch.
system/modules/Files/models/File.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -83,6 +83,9 @@
 block discarded – undo
83 83
         return null;
84 84
     }
85 85
 
86
+    /**
87
+     * @return string
88
+     */
86 89
     function colName()
87 90
     {
88 91
         return "{$this->activeForm->requestFormName}[{$this->activeForm->modelName}][{$this->colName}]";
Please login to merge, or discard this patch.