Completed
Branch master (c33d8c)
by Pierre-Henry
35:50
created
_protected/framework/Url/Header.class.php 1 patch
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -13,10 +13,9 @@
 block discarded – undo
13 13
 namespace PH7\Framework\Url;
14 14
 defined('PH7') or exit('Restricted access');
15 15
 
16
-use
17
-PH7\Framework\Layout\Html\Design,
18
-PH7\Framework\Http\Http,
19
-PH7\Framework\Mvc\Request\Http as HttpRequest;
16
+use PH7\Framework\Layout\Html\Design;
17
+use PH7\Framework\Http\Http;
18
+use PH7\Framework\Mvc\Request\Http as HttpRequest;
20 19
 
21 20
 class Header
22 21
 {
Please login to merge, or discard this patch.
_protected/framework/Video/Api.class.php 1 patch
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,8 @@
 block discarded – undo
13 13
 namespace PH7\Framework\Video;
14 14
 defined('PH7') or exit('Restricted access');
15 15
 
16
-use PH7\Framework\Http\Http, PH7\Framework\Config\Config;
16
+use PH7\Framework\Http\Http;
17
+use PH7\Framework\Config\Config;
17 18
 
18 19
 class Api
19 20
 {
Please login to merge, or discard this patch.
_protected/framework/Video/Api/Metacafe.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
     /**
24 24
      * @param string $sUrl
25
-     * @return mixed (string | boolean) Returns the embed video URL if found, FALSE otherwise.
25
+     * @return false|string (string | boolean) Returns the embed video URL if found, FALSE otherwise.
26 26
      */
27 27
     public function getVideo($sUrl)
28 28
     {
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 
99 99
     /**
100 100
      * @param string $sUrl
101
-     * @return mixed (integer | boolean) Returns the ID of the video if it was found, FALSE otherwise.
101
+     * @return string|false (integer | boolean) Returns the ID of the video if it was found, FALSE otherwise.
102 102
      */
103 103
     public function getVideoId($sUrl)
104 104
     {
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
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @param string $sUrl
28
-     * @return mixed (string | boolean) Returns the embed video URL if found, FALSE otherwise.
28
+     * @return false|string (string | boolean) Returns the embed video URL if found, FALSE otherwise.
29 29
      */
30 30
     public function getVideo($sUrl)
31 31
     {
Please login to merge, or discard this patch.
_protected/library/FreebieStock/NudityDetector/Image.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
     * Get image type if it is one of: .gif, .jpg or .png
62 62
     *
63 63
     * @param string $file Full path to file
64
-    * @return string|boolean
64
+    * @return string|false
65 65
     */
66 66
     static public function type($file) {
67 67
         $type = getimagesize($file);
Please login to merge, or discard this patch.
static/PFBC/recaptchalib.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -211,6 +211,9 @@  discard block
 block discarded – undo
211 211
 
212 212
 /* Mailhide related code */
213 213
 
214
+/**
215
+ * @param string $ky
216
+ */
214 217
 function _recaptcha_aes_encrypt($val,$ky) {
215 218
     if (! function_exists ("mcrypt_encrypt")) {
216 219
         die ("To use reCAPTCHA Mailhide, you need to have the mcrypt php module installed.");
@@ -222,6 +225,9 @@  discard block
 block discarded – undo
222 225
 }
223 226
 
224 227
 
228
+/**
229
+ * @param null|string $x
230
+ */
225 231
 function _recaptcha_mailhide_urlbase64($x) {
226 232
     return strtr(base64_encode ($x), '+/', '-_');
227 233
 }
Please login to merge, or discard this patch.
_protected/app/system/modules/forum/config/Permission.php 1 patch
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,10 +9,9 @@
 block discarded – undo
9 9
 
10 10
 defined('PH7') or die('Restricted access');
11 11
 
12
-use
13
-PH7\Framework\Layout\Html\Design,
14
-PH7\Framework\Mvc\Router\Uri,
15
-PH7\Framework\Url\Header;
12
+use PH7\Framework\Layout\Html\Design;
13
+use PH7\Framework\Mvc\Router\Uri;
14
+use PH7\Framework\Url\Header;
16 15
 
17 16
 class Permission extends PermissionCore
18 17
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/game/controllers/AdminController.php 1 patch
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,8 @@
 block discarded – undo
7 7
  */
8 8
 namespace PH7;
9 9
 
10
-use PH7\Framework\Mvc\Router\Uri, PH7\Framework\Url\Header;
10
+use PH7\Framework\Mvc\Router\Uri;
11
+use PH7\Framework\Url\Header;
11 12
 
12 13
 class AdminController extends MainController
13 14
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/note/config/Permission.php 1 patch
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,10 +9,9 @@
 block discarded – undo
9 9
 
10 10
 defined('PH7') or die('Restricted access');
11 11
 
12
-use
13
-PH7\Framework\Layout\Html\Design,
14
-PH7\Framework\Mvc\Router\Uri,
15
-PH7\Framework\Url\Header;
12
+use PH7\Framework\Layout\Html\Design;
13
+use PH7\Framework\Mvc\Router\Uri;
14
+use PH7\Framework\Url\Header;
16 15
 
17 16
 class Permission extends PermissionCore
18 17
 {
Please login to merge, or discard this patch.