Completed
Branch master (d39ff3)
by Pierre-Henry
32:32
created
admin123/assets/ajax/fileManager/elFinderVolumeLocalFileSystem.class.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -771,7 +771,7 @@  discard block
 block discarded – undo
771 771
      *
772 772
      * @param  string  $path  parent dir path
773 773
      * @param string  $name  new directory name
774
-     * @return string|bool
774
+     * @return string|false
775 775
      * @author Dmitry (dio) Levashov
776 776
      **/
777 777
     protected function _mkdir($path, $name) {
@@ -791,7 +791,7 @@  discard block
 block discarded – undo
791 791
      *
792 792
      * @param  string  $path  parent dir path
793 793
      * @param string  $name  new file name
794
-     * @return string|bool
794
+     * @return string|false
795 795
      * @author Dmitry (dio) Levashov
796 796
      **/
797 797
     protected function _mkfile($path, $name) {
@@ -845,7 +845,7 @@  discard block
 block discarded – undo
845 845
      * @param  string $source source file path
846 846
      * @param $targetDir
847 847
      * @param  string $name file name
848
-     * @return bool|string
848
+     * @return string|false
849 849
      * @internal param string $target target dir path
850 850
      * @author Dmitry (dio) Levashov
851 851
      */
@@ -1135,7 +1135,7 @@  discard block
 block discarded – undo
1135 1135
      * @param  array   $files  files names list
1136 1136
      * @param  string  $name   archive name
1137 1137
      * @param  array   $arc    archiver options
1138
-     * @return string|bool
1138
+     * @return string|false
1139 1139
      * @author Dmitry (dio) Levashov,
1140 1140
      * @author Alexey Sukhotin
1141 1141
      **/
Please login to merge, or discard this patch.
app/system/modules/admin123/assets/ajax/fileManager/libs/GdBmp.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
  *
65 65
  * 以下のものは非対応
66 66
  *   BITMAPV4HEADER と BITMAPV5HEADER に含まれる色空間に関する様々な機能
67
- * @param $filename_or_stream_or_binary
67
+ * @param string $filename_or_stream_or_binary
68 68
  * @return bool|resource
69 69
  */
70 70
 
@@ -96,6 +96,9 @@  discard block
 block discarded – undo
96 96
         return $bmp;
97 97
     }
98 98
 
99
+    /**
100
+     * @param string $str
101
+     */
99 102
     public static function loadFromString($str){
100 103
         //data scheme より古いバージョンから対応しているようなので php://memory を使う
101 104
         $fp = fopen("php://memory", "r+b");
@@ -119,6 +122,9 @@  discard block
 block discarded – undo
119 122
         return $bmp;
120 123
     }
121 124
 
125
+    /**
126
+     * @param resource $stream
127
+     */
122 128
     public static function loadFromStream($stream){
123 129
         $buf = fread($stream, 14); //2+4+2+2+4
124 130
         if ($buf === false){
Please login to merge, or discard this patch.
_protected/framework/Geo/Map/Api.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
     }
218 218
 
219 219
     /**
220
-     * @return mixed
220
+     * @return boolean
221 221
      */
222 222
     public function getEnableGeolocation()
223 223
     {
@@ -445,7 +445,7 @@  discard block
 block discarded – undo
445 445
      *
446 446
      * @param string $address an address
447 447
      *
448
-     * @return array array with precision, lat & lng
448
+     * @return string array with precision, lat & lng
449 449
      */
450 450
     public function geocoding($address)
451 451
     {
Please login to merge, or discard this patch.
_protected/library/FreebieStock/NudityDetector/Image.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
     * Get image type if it is one of: .gif, .jpg or .png
62 62
     *
63 63
     * @param string $file Full path to file
64
-    * @return string|boolean
64
+    * @return string|false
65 65
     */
66 66
     static public function type($file) {
67 67
         $type = getimagesize($file);
Please login to merge, or discard this patch.
static/PFBC/recaptchalib.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -211,6 +211,9 @@  discard block
 block discarded – undo
211 211
 
212 212
 /* Mailhide related code */
213 213
 
214
+/**
215
+ * @param string $ky
216
+ */
214 217
 function _recaptcha_aes_encrypt($val,$ky) {
215 218
     if (! function_exists ("mcrypt_encrypt")) {
216 219
         die ("To use reCAPTCHA Mailhide, you need to have the mcrypt php module installed.");
@@ -222,6 +225,9 @@  discard block
 block discarded – undo
222 225
 }
223 226
 
224 227
 
228
+/**
229
+ * @param null|string $x
230
+ */
225 231
 function _recaptcha_mailhide_urlbase64($x) {
226 232
     return strtr(base64_encode ($x), '+/', '-_');
227 233
 }
Please login to merge, or discard this patch.
_protected/framework/Image/Image.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -418,7 +418,7 @@  discard block
 block discarded – undo
418 418
     }
419 419
 
420 420
     /**
421
-     * @return string
421
+     * @return resource
422 422
      */
423 423
     public function getFileName()
424 424
     {
@@ -428,7 +428,7 @@  discard block
 block discarded – undo
428 428
     /**
429 429
      * Determine and get the type of the image (even an unallowed image type) by reading the first bytes and checking its signature.
430 430
      *
431
-     * @return string|bool When a correct signature is found, returns the appropriate value, FALSE otherwise.
431
+     * @return integer When a correct signature is found, returns the appropriate value, FALSE otherwise.
432 432
      */
433 433
     public function getType()
434 434
     {
Please login to merge, or discard this patch.
_protected/app/system/modules/admin123/models/ModeratorModel.php 1 patch
Doc Comments   +24 added lines patch added patch discarded remove patch
@@ -12,6 +12,10 @@  discard block
 block discarded – undo
12 12
 class ModeratorModel extends ModeratorCoreModel
13 13
 {
14 14
 
15
+    /**
16
+     * @param integer $iOffset
17
+     * @param integer $iLimit
18
+     */
15 19
     public function getAlbumsPicture($iOffset, $iLimit)
16 20
     {
17 21
         $iOffset = (int)$iOffset;
@@ -25,6 +29,10 @@  discard block
 block discarded – undo
25 29
         return $rStmt->fetchAll(\PDO::FETCH_OBJ);
26 30
     }
27 31
 
32
+    /**
33
+     * @param integer $iOffset
34
+     * @param integer $iLimit
35
+     */
28 36
     public function getPictures($iOffset, $iLimit)
29 37
     {
30 38
         $iOffset = (int)$iOffset;
@@ -38,6 +46,10 @@  discard block
 block discarded – undo
38 46
         return $rStmt->fetchAll(\PDO::FETCH_OBJ);
39 47
     }
40 48
 
49
+    /**
50
+     * @param integer $iOffset
51
+     * @param integer $iLimit
52
+     */
41 53
     public function getAlbumsVideo($iOffset, $iLimit)
42 54
     {
43 55
         $iOffset = (int)$iOffset;
@@ -51,6 +63,10 @@  discard block
 block discarded – undo
51 63
         return $rStmt->fetchAll(\PDO::FETCH_OBJ);
52 64
     }
53 65
 
66
+    /**
67
+     * @param integer $iOffset
68
+     * @param integer $iLimit
69
+     */
54 70
     public function getVideos($iOffset, $iLimit)
55 71
     {
56 72
         $iOffset = (int)$iOffset;
@@ -64,6 +80,10 @@  discard block
 block discarded – undo
64 80
         return $rStmt->fetchAll(\PDO::FETCH_OBJ);
65 81
     }
66 82
 
83
+    /**
84
+     * @param integer $iOffset
85
+     * @param integer $iLimit
86
+     */
67 87
     public function getAvatars($iOffset, $iLimit)
68 88
     {
69 89
         $iOffset = (int)$iOffset;
@@ -76,6 +96,10 @@  discard block
 block discarded – undo
76 96
         return $rStmt->fetchAll(\PDO::FETCH_OBJ);
77 97
     }
78 98
 
99
+    /**
100
+     * @param integer $iOffset
101
+     * @param integer $iLimit
102
+     */
79 103
     public function getBackgrounds($iOffset, $iLimit)
80 104
     {
81 105
         $iOffset = (int)$iOffset;
Please login to merge, or discard this patch.
_install/library/Smarty/sysplugins/smarty_cacheresource_custom.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
      *
166 166
      * @param  Smarty_Internal_Template $_template template object
167 167
      *
168
-     * @return string|boolean  content
168
+     * @return string|false  content
169 169
      */
170 170
     public function readCachedContent(Smarty_Internal_Template $_template)
171 171
     {
Please login to merge, or discard this patch.
_protected/framework/Layout/Tpl/Engine/PH7Tpl/PH7Tpl.class.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -605,7 +605,7 @@  discard block
 block discarded – undo
605 605
      *
606 606
      * @see __get()
607 607
      *
608
-     * @param $sVarName string Name of a variable that is to be retrieved.
608
+     * @param string $sVarName string Name of a variable that is to be retrieved.
609 609
      *
610 610
      * @return mixed Value of that variable.
611 611
      */
@@ -827,7 +827,7 @@  discard block
 block discarded – undo
827 827
     /**
828 828
      * Get the reserved variables.
829 829
      *
830
-     * @return array
830
+     * @return string[]
831 831
      */
832 832
     public function getReservedWords()
833 833
     {
@@ -886,7 +886,7 @@  discard block
 block discarded – undo
886 886
     /**
887 887
      * Checks if the template file in the $this->sTemplateDirFile attribute is the main page (layout.tpl).
888 888
      *
889
-     * @return boolean
889
+     * @return integer
890 890
      */
891 891
     private function isMainPage()
892 892
     {
@@ -896,7 +896,7 @@  discard block
 block discarded – undo
896 896
     /**
897 897
      * Checks if the compile file in the $this->sCompileDirFile attribute is the main page (layout.cpl.php).
898 898
      *
899
-     * @return boolean
899
+     * @return integer
900 900
      */
901 901
     final private function isMainCompilePage()
902 902
     {
@@ -906,7 +906,7 @@  discard block
 block discarded – undo
906 906
     /**
907 907
      * Checks if the compile file in the $this->sCompileDirFile attribute is the XML (with XSL layout) Sitemap page (mainlayout.xsl.cpl.php).
908 908
      *
909
-     * @return boolean
909
+     * @return integer
910 910
      */
911 911
     final private function isXmlSitemapCompilePage()
912 912
     {
Please login to merge, or discard this patch.