Completed
Branch master (2d3d98)
by Pierre-Henry
62:03 queued 27:19
created
_protected/framework/Mvc/Model/Design.class.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
      * @param integer $iHeight
62 62
      * @param boolean $bOnlyActive
63 63
      *
64
-     * @return boolean|void
64
+     * @return false|null
65 65
      */
66 66
     public function ad($iWidth, $iHeight, $bOnlyActive = true)
67 67
     {
Please login to merge, or discard this patch.
_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/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.