Completed
Branch master (24313b)
by Pierre-Henry
33:06
created
_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|boolean $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|boolean $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/Loader/Autoloader.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -182,6 +182,7 @@
 block discarded – undo
182 182
      * For all classes, hack to remove the namespace, slash and backslash.
183 183
      *
184 184
      * @param string The class name to clean.
185
+     * @param string $sClass
185 186
      * @return string The class cleaned.
186 187
      */
187 188
     private function _clean($sClass)
Please login to merge, or discard this patch.
_protected/framework/Navigation/Browser.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     /**
78 78
      * Are we capable to receive gzipped data?
79 79
      *
80
-     * @return string|boolean Returns the encoding if it is accepted, false otherwise. Maybe additional check for Mac OS...
80
+     * @return false|string Returns the encoding if it is accepted, false otherwise. Maybe additional check for Mac OS...
81 81
      */
82 82
     public function encoding()
83 83
     {
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
     }
145 145
 
146 146
     /**
147
-     * @return string|null The HTTP User Agent is it exists, otherwise the NULL value.
147
+     * @return string The HTTP User Agent is it exists, otherwise the NULL value.
148 148
      */
149 149
     public function getUserAgent()
150 150
     {
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
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     /**
129 129
      * Check if file exists.
130 130
      *
131
-     * @param array|string $mFile
131
+     * @param string $mFile
132 132
      * @return boolean TRUE if file exists, FALSE otherwise.
133 133
      */
134 134
     public function existFile($mFile)
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
      * Creates a directory if they are in an array. If it does not exist and
281 281
      * allows the creation of nested directories specified in the pathname.
282 282
      *
283
-     * @param string|array $mDir
283
+     * @param string $mDir
284 284
      * @param integer (octal) $iMode Default: 0777
285 285
      * @return void
286 286
      * @throws Exception If the file cannot be created.
@@ -330,7 +330,7 @@  discard block
 block discarded – undo
330 330
      *
331 331
      * @param string $sFrom File or directory.
332 332
      * @param string $sTo File or directory.
333
-     * @return integer|boolean Returns the last line on success, and FALSE on failure.
333
+     * @return string|false Returns the last line on success, and FALSE on failure.
334 334
      */
335 335
     public function systemCopy($sFrom, $sTo)
336 336
     {
@@ -372,7 +372,7 @@  discard block
 block discarded – undo
372 372
      *
373 373
      * @param string $sFrom File or directory.
374 374
      * @param string $sTo File or directory.
375
-     * @return integer|boolean Returns the last line on success, and FALSE on failure.
375
+     * @return string|false Returns the last line on success, and FALSE on failure.
376 376
      */
377 377
     public function systemRename($sFrom, $sTo)
378 378
     {
Please login to merge, or discard this patch.
_protected/framework/Video/Api/Api.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
     /**
80 80
      * @param string $sUrl
81 81
      *
82
-     * @return string|boolean The embed URL if id is valid, false otherwise.
82
+     * @return false|string The embed URL if id is valid, false otherwise.
83 83
      */
84 84
     public function getEmbedUrl($sUrl)
85 85
     {
Please login to merge, or discard this patch.
_protected/framework/Video/Api/Dailymotion.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     /**
23 23
      * @param string $sUrl
24 24
      *
25
-     * @return string|boolean Returns the video embed URL if it was found, FALSE otherwise.
25
+     * @return false|string Returns the video embed URL if it was found, FALSE otherwise.
26 26
      */
27 27
     public function getVideo($sUrl)
28 28
     {
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     /**
62 62
      * @param string $sUrl
63 63
      *
64
-     * @return integer|boolean Returns the ID of the video if it was found, FALSE otherwise.
64
+     * @return string|false Returns the ID of the video if it was found, FALSE otherwise.
65 65
      */
66 66
     public function getVideoId($sUrl)
67 67
     {
Please login to merge, or discard this patch.
_protected/framework/Video/Api/Metacafe.class.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     /**
23 23
      * @param string $sUrl
24 24
      *
25
-     * @return string|boolean Returns the embed video URL if found, FALSE otherwise.
25
+     * @return false|string Returns the embed video URL if found, FALSE otherwise.
26 26
      */
27 27
     public function getVideo($sUrl)
28 28
     {
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
     /**
127 127
      * @param string $sUrl
128 128
      *
129
-     * @return integer|boolean Returns the ID of the video if it was found, FALSE otherwise.
129
+     * @return string|false Returns the ID of the video if it was found, FALSE otherwise.
130 130
      */
131 131
     public function getVideoId($sUrl)
132 132
     {
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
      *
140 140
      * @param string $sUrl
141 141
      *
142
-     * @return boolean|string
142
+     * @return false|string
143 143
      */
144 144
     public function getEmbedUrl($sUrl)
145 145
     {
Please login to merge, or discard this patch.
_protected/framework/Video/Api/Vimeo.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     /**
23 23
      * @param string $sUrl
24 24
      *
25
-     * @return string|boolean Returns the video embed URL if it was found and is valid, FALSE otherwise.
25
+     * @return false|string Returns the video embed URL if it was found and is valid, FALSE otherwise.
26 26
      */
27 27
     public function getVideo($sUrl)
28 28
     {
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     /**
71 71
      * @param string $sUrl
72 72
      *
73
-     * @return integer|boolean Returns the ID of the video if it was found, FALSE otherwise.
73
+     * @return string|false Returns the ID of the video if it was found, FALSE otherwise.
74 74
      */
75 75
     public function getVideoId($sUrl)
76 76
     {
Please login to merge, or discard this patch.
_protected/framework/Video/Api/Youtube.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * @param string $sUrl
28 28
      *
29
-     * @return string|boolean Returns the embed video URL if found, FALSE otherwise.
29
+     * @return false|string Returns the embed video URL if found, FALSE otherwise.
30 30
      */
31 31
     public function getVideo($sUrl)
32 32
     {
Please login to merge, or discard this patch.