Completed
Branch master (4c5647)
by Pierre-Henry
36:49
created
_protected/app/system/modules/connect/inc/class/Twitter.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     /**
116 116
      * Authenticate user with Twitter.
117 117
      *
118
-     * @return bool Authentication successful.
118
+     * @return boolean|null Authentication successful.
119 119
      */
120 120
     public function auth()
121 121
     {
@@ -288,7 +288,7 @@  discard block
 block discarded – undo
288 288
     /**
289 289
      * Obtain an access token from Twitter.
290 290
      *
291
-     * @return bool Returns FALSE if request failed.
291
+     * @return null|false Returns FALSE if request failed.
292 292
      */
293 293
     private function _getAccessToken()
294 294
     {
Please login to merge, or discard this patch.
Unused Use Statements   +9 added lines, -10 removed lines patch added patch discarded remove patch
@@ -12,16 +12,15 @@
 block discarded – undo
12 12
 namespace PH7;
13 13
 defined('PH7') or exit('Restricted access');
14 14
 
15
-use
16
-PH7\Framework\File\Import,
17
-PH7\Framework\Date\CDateTime,
18
-PH7\Framework\Config\Config,
19
-PH7\Framework\Mvc\Model\DbConfig,
20
-PH7\Framework\Ip\Ip,
21
-PH7\Framework\File\File,
22
-PH7\Framework\Util\Various,
23
-PH7\Framework\Geo\Ip\Geo,
24
-PH7\Framework\Mvc\Router\Uri;
15
+use PH7\Framework\File\Import;
16
+use PH7\Framework\Date\CDateTime;
17
+use PH7\Framework\Config\Config;
18
+use PH7\Framework\Mvc\Model\DbConfig;
19
+use PH7\Framework\Ip\Ip;
20
+use PH7\Framework\File\File;
21
+use PH7\Framework\Util\Various;
22
+use PH7\Framework\Geo\Ip\Geo;
23
+use PH7\Framework\Mvc\Router\Uri;
25 24
 
26 25
 class Twitter extends Api implements IApi
27 26
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/contact/inc/class/Contact.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\Model\DbConfig, PH7\Framework\Mail\Mail;
10
+use PH7\Framework\Mvc\Model\DbConfig;
11
+use PH7\Framework\Mail\Mail;
11 12
 
12 13
 class Contact extends Core
13 14
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/field/models/FieldModel.php 1 patch
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,10 +7,9 @@
 block discarded – undo
7 7
  */
8 8
 namespace PH7;
9 9
 
10
-use
11
-PH7\Framework\Mvc\Model\Engine\Util\Various,
12
-PH7\Framework\Mvc\Request\Http,
13
-PH7\Framework\Mvc\Model\Engine\Db;
10
+use PH7\Framework\Mvc\Model\Engine\Util\Various;
11
+use PH7\Framework\Mvc\Request\Http;
12
+use PH7\Framework\Mvc\Model\Engine\Db;
14 13
 
15 14
 class FieldModel extends Framework\Mvc\Model\Engine\Model
16 15
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/forum/controllers/AdminController.php 1 patch
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,8 @@
 block discarded – undo
6 6
  * @package        PH7 / App / System / Module / Forum / Controller
7 7
  */
8 8
 namespace PH7;
9
-use PH7\Framework\Mvc\Router\Uri, PH7\Framework\Url\Header;
9
+use PH7\Framework\Mvc\Router\Uri;
10
+use PH7\Framework\Url\Header;
10 11
 
11 12
 class AdminController extends Controller
12 13
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/forum/controllers/ForumController.php 1 patch
Unused Use Statements   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -7,11 +7,10 @@
 block discarded – undo
7 7
  */
8 8
 namespace PH7;
9 9
 
10
-use
11
-PH7\Framework\Navigation\Page,
12
-PH7\Framework\Security\Ban\Ban,
13
-PH7\Framework\Mvc\Router\Uri,
14
-PH7\Framework\Url\Header;
10
+use PH7\Framework\Navigation\Page;
11
+use PH7\Framework\Security\Ban\Ban;
12
+use PH7\Framework\Mvc\Router\Uri;
13
+use PH7\Framework\Url\Header;
15 14
 
16 15
 class ForumController extends Controller
17 16
 {
Please login to merge, or discard this patch.
app/system/modules/forum/forms/processing/CategoryFormProcess.php 1 patch
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -8,10 +8,9 @@
 block discarded – undo
8 8
 namespace PH7;
9 9
 defined('PH7') or exit('Restricted access');
10 10
 
11
-use
12
-PH7\Framework\Mvc\Model\Engine\Db,
13
-PH7\Framework\Mvc\Router\Uri,
14
-PH7\Framework\Url\Header;
11
+use PH7\Framework\Mvc\Model\Engine\Db;
12
+use PH7\Framework\Mvc\Router\Uri;
13
+use PH7\Framework\Url\Header;
15 14
 
16 15
 class CategoryFormProcess extends Form
17 16
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/forum/forms/processing/MsgFormProcess.php 1 patch
Unused Use Statements   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -8,12 +8,11 @@
 block discarded – undo
8 8
 namespace PH7;
9 9
 defined('PH7') or exit('Restricted access');
10 10
 
11
-use
12
-PH7\Framework\Mvc\Model\Engine\Db,
13
-PH7\Framework\Mvc\Model\DbConfig,
14
-PH7\Framework\Mvc\Request\Http,
15
-PH7\Framework\Mvc\Router\Uri,
16
-PH7\Framework\Url\Header;
11
+use PH7\Framework\Mvc\Model\Engine\Db;
12
+use PH7\Framework\Mvc\Model\DbConfig;
13
+use PH7\Framework\Mvc\Request\Http;
14
+use PH7\Framework\Mvc\Router\Uri;
15
+use PH7\Framework\Url\Header;
17 16
 
18 17
 class MsgFormProcess extends Form
19 18
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/game/forms/AdminEditForm.php 1 patch
Unused Use Statements   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -7,11 +7,9 @@
 block discarded – undo
7 7
  */
8 8
 namespace PH7;
9 9
 
10
-use
11
-PH7\Framework\Config\Config,
12
-PH7\Framework\Str\Str,
13
-PH7\Framework\Mvc\Request\Http,
14
-PH7\Framework\Mvc\Router\Uri;
10
+use PH7\Framework\Config\Config;
11
+use PH7\Framework\Str\Str;
12
+use PH7\Framework\Mvc\Request\Http;
15 13
 
16 14
 class AdminEditForm
17 15
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/game/forms/processing/AdminFormProcess.php 1 patch
Unused Use Statements   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -8,12 +8,11 @@
 block discarded – undo
8 8
 namespace PH7;
9 9
 defined('PH7') or die('Restricted access');
10 10
 
11
-use
12
-PH7\Framework\Mvc\Model\Engine\Db,
13
-PH7\Framework\Image\Image,
14
-PH7\Framework\Util\Various,
15
-PH7\Framework\Url\Header,
16
-PH7\Framework\Mvc\Router\Uri;
11
+use PH7\Framework\Mvc\Model\Engine\Db;
12
+use PH7\Framework\Image\Image;
13
+use PH7\Framework\Util\Various;
14
+use PH7\Framework\Url\Header;
15
+use PH7\Framework\Mvc\Router\Uri;
17 16
 
18 17
 class AdminFormProcess extends Form
19 18
 {
Please login to merge, or discard this patch.