Completed
Branch master (b43d3d)
by Pierre-Henry
35:32
created
_protected/framework/Http/Http.class.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
     /**
86 86
      * @param integer $iStatus The "code" for the HTTP status.
87 87
      *
88
-     * @return string|boolean $iStatus Returns the "HTTP status code" if found otherwise returns "false"
88
+     * @return integer $iStatus Returns the "HTTP status code" if found otherwise returns "false"
89 89
      */
90 90
     public static function getStatusCodes($iStatus)
91 91
     {
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
     /**
122 122
      * Set one or multiple headers.
123 123
      *
124
-     * @param string|array $mHeaders Headers to send.
124
+     * @param string $mHeaders Headers to send.
125 125
      *
126 126
      * @throws Exception
127 127
      */
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
      * @param string $sUsr
181 181
      * @param string $sPwd
182 182
      *
183
-     * @return boolean TRUE if the authentication is correct, otherwise FALSE.
183
+     * @return null|boolean TRUE if the authentication is correct, otherwise FALSE.
184 184
      */
185 185
     public static function requireAuth($sUsr, $sPwd)
186 186
     {
Please login to merge, or discard this patch.
_protected/framework/Mvc/Request/Http.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
     /**
121 121
      * Check is the POST request method exists.
122 122
      *
123
-     * @param array|string $mKey The key of the request or an array with the list of key of the variables request.
123
+     * @param string $mKey The key of the request or an array with the list of key of the variables request.
124 124
      * @param string $sParam Optional parameter, check the type of the request variable | Value type is: str, int, float, bool
125 125
      *
126 126
      * @return boolean
Please login to merge, or discard this patch.
_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/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/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/Layout/Html/Design.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -617,7 +617,7 @@
 block discarded – undo
617 617
      * @param integer $iSize
618 618
      * @param boolean $bPrint Print or Return the HTML code.
619 619
      *
620
-     * @return void|string The default 150px avatar URL or the user avatar URL.
620
+     * @return string The default 150px avatar URL or the user avatar URL.
621 621
      */
622 622
     public function getUserAvatar($sUsername, $sSex = '', $iSize = null, $bPrint = true)
623 623
     {
Please login to merge, or discard this patch.