Completed
Branch master (7c3ba5)
by Pierre-Henry
35:37
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/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/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/Compress/Minify/Js.class.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -388,6 +388,7 @@
 block discarded – undo
388 388
     /**
389 389
      * Is $c a letter, digit, underscore, dollar sign, or non-ASCII character.
390 390
      *
391
+     * @param string $c
391 392
      * @return bool
392 393
      */
393 394
     protected function isAlphaNum($c)
Please login to merge, or discard this patch.
_protected/framework/Parse/SysVar.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      *
33 33
      * @param string $sVar
34 34
      *
35
-     * @return The new parsed text
35
+     * @return string new parsed text
36 36
      */
37 37
     public function parse($sVar)
38 38
     {
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     }
93 93
 
94 94
     /**
95
-     * @return bool
95
+     * @return integer
96 96
      */
97 97
     private function notParsingVars()
98 98
     {
Please login to merge, or discard this patch.
_protected/app/system/core/models/RatingCoreModel.php 1 patch
Doc Comments   +17 added lines patch added patch discarded remove patch
@@ -17,6 +17,10 @@  discard block
 block discarded – undo
17 17
 
18 18
     const CACHE_GROUP = 'db/sys/core/rating', CACHE_TIME = 604800;
19 19
 
20
+    /**
21
+     * @param integer $iId
22
+     * @param string $sTable
23
+     */
20 24
     public function getVote($iId, $sTable)
21 25
     {
22 26
         $this->cache->start(self::CACHE_GROUP, 'getVote' . $iId . $sTable, static::
@@ -40,6 +44,10 @@  discard block
 block discarded – undo
40 44
         return $iData;
41 45
     }
42 46
 
47
+    /**
48
+     * @param integer $iId
49
+     * @param string $sTable
50
+     */
43 51
     public function getScore($iId, $sTable)
44 52
     {
45 53
         $this->cache->start(self::CACHE_GROUP, 'getScore' . $iId . $sTable, static::
@@ -63,6 +71,10 @@  discard block
 block discarded – undo
63 71
         return $fData;
64 72
     }
65 73
 
74
+    /**
75
+     * @param integer $iId
76
+     * @param string $sTable
77
+     */
66 78
     public function updateVotes($iId, $sTable)
67 79
     {
68 80
 
@@ -75,6 +87,11 @@  discard block
 block discarded – undo
75 87
         return $rStmt->execute();
76 88
     }
77 89
 
90
+    /**
91
+     * @param double $fScore
92
+     * @param integer $iId
93
+     * @param string $sTable
94
+     */
78 95
     public function updateScore($fScore, $iId, $sTable)
79 96
     {
80 97
         $sTable = Various::checkTable($sTable);
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
@@ -316,7 +316,7 @@
 block discarded – undo
316 316
 /**
317 317
  * Check if Apache's mod_rewrite is installed.
318 318
  *
319
- * @return bool
319
+ * @return null|boolean
320 320
  */
321 321
 function is_url_rewrite()
322 322
 {
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
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      * @param string $sMod
26 26
      * @param bool $bPrint Print or Return the HTML code.
27 27
      *
28
-     * @return void
28
+     * @return string|null
29 29
      */
30 30
     public static function link($sMod, $bPrint = true)
31 31
     {
Please login to merge, or discard this patch.
_protected/app/system/core/models/AdsCoreModel.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,8 +17,10 @@
 block discarded – undo
17 17
     /**
18 18
      * Get Advertisements in the database.
19 19
      *
20
-     * @param int|null $mActive 1 = active otherwise null. Default value is 1.
20
+     * @param integer $mActive 1 = active otherwise null. Default value is 1.
21 21
      * @param string $sTable The table.
22
+     * @param integer $iOffset
23
+     * @param integer $iLimit
22 24
      *
23 25
      * @return \stdClass The advertisements data.
24 26
      */
Please login to merge, or discard this patch.