Completed
Branch master (941829)
by Pierre-Henry
35:00
created
_protected/framework/Compress/Compress.class.php 1 patch
Doc Comments   +12 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,6 +94,11 @@  discard block
 block discarded – undo
94 94
         return $sPhpCode;
95 95
     }
96 96
 
97
+    /**
98
+     * @param string $sHtml
99
+     *
100
+     * @return string
101
+     */
97 102
     public function parseHtml($sHtml)
98 103
     {
99 104
         preg_match_all('!(<(?:code|pre).*>[^<]+</(?:code|pre)>)!', $sHtml, $aPre); // Exclude pre or code tags
@@ -112,6 +117,9 @@  discard block
 block discarded – undo
112 117
         return $sHtml;
113 118
     }
114 119
 
120
+    /**
121
+     * @param string $sContent
122
+     */
115 123
     public function parseCss($sContent)
116 124
     {
117 125
         if ($this->bJavaCompiler) {
@@ -164,6 +172,9 @@  discard block
 block discarded – undo
164 172
         return $sCssMinified;
165 173
     }
166 174
 
175
+    /**
176
+     * @param string $sContent
177
+     */
167 178
     public function parseJs($sContent)
168 179
     {
169 180
         if ($this->bJavaCompiler) {
@@ -237,7 +248,7 @@  discard block
 block discarded – undo
237 248
      * @param string $sContent
238 249
      * @param string $sContentEncoded
239 250
      *
240
-     * @return resource|bool Returns the resource if eligible, FALSE otherwise.
251
+     * @return resource Returns the resource if eligible, FALSE otherwise.
241 252
      */
242 253
     private function googleClosureEligible($sContent, $sContentEncoded)
243 254
     {
Please login to merge, or discard this patch.
_protected/framework/Layout/Form/Form.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
      *
136 136
      * @param int $iWaitTime
137 137
      *
138
-     * @return int
138
+     * @return string
139 139
      */
140 140
     private static function _getTimeText($iWaitTime)
141 141
     {
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
@@ -512,7 +512,7 @@  discard block
 block discarded – undo
512 512
      *
513 513
      * @see __get()
514 514
      *
515
-     * @param $sVarName string Name of a variable that is to be retrieved.
515
+     * @param string $sVarName string Name of a variable that is to be retrieved.
516 516
      *
517 517
      * @return mixed Value of that variable.
518 518
      */
@@ -534,7 +534,7 @@  discard block
 block discarded – undo
534 534
     /**
535 535
      * Get the reserved variables.
536 536
      *
537
-     * @return array
537
+     * @return string[]
538 538
      */
539 539
     public function getReservedWords()
540 540
     {
@@ -731,7 +731,7 @@  discard block
 block discarded – undo
731 731
     /**
732 732
      * Checks if the template file in the $this->sTemplateDirFile attribute is the main page (layout.tpl).
733 733
      *
734
-     * @return bool
734
+     * @return integer
735 735
      */
736 736
     private function isMainPage()
737 737
     {
@@ -741,7 +741,7 @@  discard block
 block discarded – undo
741 741
     /**
742 742
      * Checks if the compile file in the $this->sCompileDirFile attribute is the main page (layout.cpl.php).
743 743
      *
744
-     * @return bool
744
+     * @return integer
745 745
      */
746 746
     final private function isMainCompilePage()
747 747
     {
@@ -754,7 +754,7 @@  discard block
 block discarded – undo
754 754
     /**
755 755
      * Checks if the compile file in the $this->sCompileDirFile attribute is the XML (with XSL layout) Sitemap page (mainlayout.xsl.cpl.php).
756 756
      *
757
-     * @return bool
757
+     * @return integer
758 758
      */
759 759
     final private function isXmlSitemapCompilePage()
760 760
     {
Please login to merge, or discard this patch.
_protected/framework/Parse/SysVar.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
     }
101 101
 
102 102
     /**
103
-     * @return bool
103
+     * @return integer
104 104
      */
105 105
     private function notParsingVars()
106 106
     {
Please login to merge, or discard this patch.
_protected/framework/Video/Video.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
      * @param string $sFlag
184 184
      * @param string $sArgument
185 185
      *
186
-     * @return void
186
+     * @return integer
187 187
      */
188 188
     private function executeCommand($sFlag, $sArgument)
189 189
     {
Please login to merge, or discard this patch.
data/file/protected/framework/Layout/Tpl/Engine/PH7Tpl/PH7Tpl.class.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -470,7 +470,7 @@  discard block
 block discarded – undo
470 470
      *
471 471
      * @param string $sTplFile Default NULL
472 472
      * @param string $sDirPath Default NULL
473
-     * @param integer $_bInclude Default 1 (TRUE)
473
+     * @param boolean $_bInclude Default 1 (TRUE)
474 474
      *
475 475
      * @return string
476 476
      *
@@ -671,7 +671,7 @@  discard block
 block discarded – undo
671 671
      *
672 672
      * @see __get()
673 673
      *
674
-     * @param $sVarName string Name of a variable that is to be retrieved.
674
+     * @param string $sVarName string Name of a variable that is to be retrieved.
675 675
      *
676 676
      * @return mixed Value of that variable.
677 677
      */
@@ -919,7 +919,7 @@  discard block
 block discarded – undo
919 919
     /**
920 920
      * Get the reserved variables.
921 921
      *
922
-     * @return array
922
+     * @return string[]
923 923
      */
924 924
     public function getReservedWords()
925 925
     {
@@ -978,7 +978,7 @@  discard block
 block discarded – undo
978 978
     /**
979 979
      * Checks if the template file in the $this->sTemplateDirFile attribute is the main page (layout.tpl).
980 980
      *
981
-     * @return boolean
981
+     * @return integer
982 982
      */
983 983
     private function isMainPage()
984 984
     {
@@ -988,7 +988,7 @@  discard block
 block discarded – undo
988 988
     /**
989 989
      * Checks if the compile file in the $this->sCompileDirFile attribute is the main page (layout.cpl.php).
990 990
      *
991
-     * @return boolean
991
+     * @return integer
992 992
      */
993 993
     final private function isMainCompilePage()
994 994
     {
@@ -1001,7 +1001,7 @@  discard block
 block discarded – undo
1001 1001
     /**
1002 1002
      * Checks if the compile file in the $this->sCompileDirFile attribute is the XML (with XSL layout) Sitemap page (mainlayout.xsl.cpl.php).
1003 1003
      *
1004
-     * @return boolean
1004
+     * @return integer
1005 1005
      */
1006 1006
     final private function isXmlSitemapCompilePage()
1007 1007
     {
Please login to merge, or discard this patch.
data/file/protected/framework/Mvc/Router/FrontController.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -585,7 +585,7 @@
 block discarded – undo
585 585
      * @param DOMElement $oRoute
586 586
      * @param array $aMatches
587 587
      *
588
-     * @return bool
588
+     * @return integer
589 589
      */
590 590
     private function isRewrittenUrl(DOMElement $oRoute, &$aMatches)
591 591
     {
Please login to merge, or discard this patch.
upgrade/12.9.7-12.9.8/data/file/protected/framework/Video/Video.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
      * @param string $sFlag
184 184
      * @param string $sArgument
185 185
      *
186
-     * @return void
186
+     * @return integer
187 187
      */
188 188
     private function executeCommand($sFlag, $sArgument)
189 189
     {
Please login to merge, or discard this patch.