Completed
Branch master (68dd9d)
by Pierre-Henry
33:26
created
_install/inc/fns/misc.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -296,7 +296,7 @@
 block discarded – undo
296 296
 /**
297 297
  * Check if Apache's mod_rewrite is installed.
298 298
  *
299
- * @return boolean
299
+ * @return null|boolean
300 300
  */
301 301
 function is_url_rewrite()
302 302
 {
Please login to merge, or discard this patch.
_protected/framework/Compress/Compress.class.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@  discard block
 block discarded – undo
68 68
         $this->_bIsGoogleClosure = (bool) Config::getInstance()->values['cache']['enable.js.closure_compiler_service'];
69 69
     }
70 70
 
71
+    /**
72
+     * @param string $sPhp
73
+     */
71 74
     public function parsePhp($sPhp)
72 75
     {
73 76
         $sPhp = preg_replace('#/\*.*+\*#', '', $sPhp); # Removing PHP comments
@@ -90,6 +93,9 @@  discard block
 block discarded – undo
90 93
         return $sHtml;
91 94
     }
92 95
 
96
+    /**
97
+     * @param string $sContent
98
+     */
93 99
     public function parseCss($sContent)
94 100
     {
95 101
         if ($this->_bJavaCompiler)
@@ -144,6 +150,9 @@  discard block
 block discarded – undo
144 150
         return $sCssMinified;
145 151
     }
146 152
 
153
+    /**
154
+     * @param string $sContent
155
+     */
147 156
     public function parseJs($sContent)
148 157
     {
149 158
         if ($this->_bJavaCompiler)
Please login to merge, or discard this patch.
_protected/framework/File/File.class.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     /**
137 137
      * Check if file exists.
138 138
      *
139
-     * @param array|string $mFile
139
+     * @param string $mFile
140 140
      *
141 141
      * @return boolean TRUE if file exists, FALSE otherwise.
142 142
      */
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
      * Creates a directory if they are in an array. If it does not exist and
297 297
      * allows the creation of nested directories specified in the pathname.
298 298
      *
299
-     * @param string|array $mDir
299
+     * @param string $mDir
300 300
      * @param integer (octal) $iMode Default: 0777
301 301
      *
302 302
      * @return void
@@ -354,7 +354,7 @@  discard block
 block discarded – undo
354 354
      * @param string $sFrom File or directory.
355 355
      * @param string $sTo File or directory.
356 356
      *
357
-     * @return integer|boolean Returns the last line on success, and FALSE on failure.
357
+     * @return string|false Returns the last line on success, and FALSE on failure.
358 358
      */
359 359
     public function systemCopy($sFrom, $sTo)
360 360
     {
@@ -402,7 +402,7 @@  discard block
 block discarded – undo
402 402
      * @param string $sFrom File or directory.
403 403
      * @param string $sTo File or directory.
404 404
      *
405
-     * @return integer|boolean Returns the last line on success, and FALSE on failure.
405
+     * @return string|false Returns the last line on success, and FALSE on failure.
406 406
      */
407 407
     public function systemRename($sFrom, $sTo)
408 408
     {
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.
_protected/app/system/core/classes/design/LostPwdDesignCore.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      *
25 25
      * @param string $sMod
26 26
      * @param boolean $bPrint Print or Return the HTML code. Default TRUE
27
-     * @return void
27
+     * @return string|null
28 28
      */
29 29
     public static function link($sMod, $bPrint = true)
30 30
     {
Please login to merge, or discard this patch.
_protected/app/system/core/models/PictureCoreModel.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -18,6 +18,10 @@
 block discarded – undo
18 18
     CREATED = 'createdDate',
19 19
     UPDATED = 'updatedDate';
20 20
 
21
+    /**
22
+     * @param integer $iOffset
23
+     * @param integer $iLimit
24
+     */
21 25
     public function album($iProfileId = null, $iAlbumId = null, $iApproved = 1, $iOffset, $iLimit, $sOrder = self::CREATED)
22 26
     {
23 27
         $this->cache->start(self::CACHE_GROUP, 'album' . $iProfileId . $iAlbumId . $iApproved . $iOffset . $iLimit . $sOrder, static::CACHE_TIME);
Please login to merge, or discard this patch.
_protected/app/system/core/models/UserCoreModel.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
      * @param string $sPassword
72 72
      * @param string $sTable Default 'Members'
73 73
      *
74
-     * @return mixed (boolean "true" or string "message")
74
+     * @return string|boolean (boolean "true" or string "message")
75 75
      */
76 76
     public function login($sEmail, $sPassword, $sTable = 'Members')
77 77
     {
@@ -420,6 +420,7 @@  discard block
 block discarded – undo
420 420
      *
421 421
      * @param integer iProfileId
422 422
      * @param integer $iStatus Values: 0 = Offline, 1 = Online, 2 = Busy, 3 = Away
423
+     * @param integer $iProfileId
423 424
      *
424 425
      * @return void
425 426
      */
@@ -1023,7 +1024,7 @@  discard block
 block discarded – undo
1023 1024
      * @param integer $iOffset
1024 1025
      * @param integer $iLimit
1025 1026
      *
1026
-     * @return stdClass|integer Object with the users list returned or integer for the total number users returned.
1027
+     * @return integer Object with the users list returned or integer for the total number users returned.
1027 1028
      */
1028 1029
     public function getGeoProfiles($sCountry, $sCity, $bCount, $sOrder, $iOffset, $iLimit)
1029 1030
     {
Please login to merge, or discard this patch.
_protected/app/system/modules/admin123/forms/SettingForm.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -335,7 +335,7 @@
 block discarded – undo
335 335
     /**
336 336
      * Get the list of modules that are possible to enable as the default system module.
337 337
      *
338
-     * @return array
338
+     * @return string[]
339 339
      */
340 340
     private static function getActivatableDefMods()
341 341
     {
Please login to merge, or discard this patch.
_protected/framework/Cache/Cache.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@
 block discarded – undo
186 186
      *
187 187
      * @param string $sData
188 188
      *
189
-     * @return string|null|self If the cache is disabled, returns null, otherwise returns this class.
189
+     * @return null|Cache If the cache is disabled, returns null, otherwise returns this class.
190 190
      */
191 191
     public function put($sData)
192 192
     {
Please login to merge, or discard this patch.