Completed
Branch master (6c262f)
by Pierre-Henry
111:59 queued 51:18
created
_protected/app/system/modules/affiliate/forms/EditForm.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\Session\Session,
12
-PH7\Framework\Mvc\Request\Http,
13
-PH7\Framework\Mvc\Router\Uri,
14
-PH7\Framework\Date\CDateTime;
10
+use PH7\Framework\Session\Session;
11
+use PH7\Framework\Mvc\Request\Http;
12
+use PH7\Framework\Mvc\Router\Uri;
13
+use PH7\Framework\Date\CDateTime;
15 14
 
16 15
 class EditForm
17 16
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/api/controllers/UserController.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\Security\Validate\Validate, PH7\Framework\Mvc\Model\DbConfig;
10
+use PH7\Framework\Security\Validate\Validate;
11
+use PH7\Framework\Mvc\Model\DbConfig;
11 12
 
12 13
 class UserController extends MainController
13 14
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/chat/controllers/HomeController.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\DbConfig,
12
-PH7\Framework\Parse\SysVar,
13
-PH7\Framework\Url\Url;
10
+use PH7\Framework\Mvc\Model\DbConfig;
11
+use PH7\Framework\Parse\SysVar;
12
+use PH7\Framework\Url\Url;
14 13
 
15 14
 class HomeController extends Controller
16 15
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/comment/controllers/CommentController.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\Security\Ban\Ban,
12
-PH7\Framework\Http\Http,
13
-PH7\Framework\Navigation\Page,
14
-PH7\Framework\Mvc\Router\Uri;
10
+use PH7\Framework\Security\Ban\Ban;
11
+use PH7\Framework\Http\Http;
12
+use PH7\Framework\Navigation\Page;
13
+use PH7\Framework\Mvc\Router\Uri;
15 14
 
16 15
 class CommentController extends Controller
17 16
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/comment/models/CommentModel.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -12,6 +12,9 @@  discard block
 block discarded – undo
12 12
 class CommentModel extends CommentCoreModel
13 13
 {
14 14
 
15
+    /**
16
+     * @param integer $iApproved
17
+     */
15 18
     public function get($iCommentId, $iApproved, $sTable)
16 19
     {
17 20
         $this->cache->start(static::CACHE_GROUP, 'get' . $iCommentId . $iApproved . $sTable, static::CACHE_TIME);
@@ -31,6 +34,11 @@  discard block
 block discarded – undo
31 34
         return $oData;
32 35
     }
33 36
 
37
+    /**
38
+     * @param integer $iSenderId
39
+     * @param integer $iApproved
40
+     * @param string $sCreatedDate
41
+     */
34 42
     public function add($iCommentId, $iRecipientId, $iSenderId, $iApproved, $sCreatedDate, $sTable)
35 43
     {
36 44
         $sTable = CommentCore::checkTable($sTable);
@@ -44,6 +52,10 @@  discard block
 block discarded – undo
44 52
         return $rStmt->execute();
45 53
     }
46 54
 
55
+    /**
56
+     * @param integer $iApproved
57
+     * @param string $sUpdatedDate
58
+     */
47 59
     public function update($iCommentId, $iRecipientId, $iSenderId, $sComment, $iApproved, $sUpdatedDate, $sTable)
48 60
     {
49 61
         $sTable = CommentCore::checkTable($sTable);
Please login to merge, or discard this patch.
_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
@@ -14,16 +14,15 @@
 block discarded – undo
14 14
 
15 15
 defined('PH7') or exit('Restricted access');
16 16
 
17
-use
18
-PH7\Framework\File\Import,
19
-PH7\Framework\Date\CDateTime,
20
-PH7\Framework\Config\Config,
21
-PH7\Framework\Mvc\Model\DbConfig,
22
-PH7\Framework\Ip\Ip,
23
-PH7\Framework\File\File,
24
-PH7\Framework\Util\Various,
25
-PH7\Framework\Geo\Ip\Geo,
26
-PH7\Framework\Mvc\Router\Uri;
17
+use PH7\Framework\File\Import;
18
+use PH7\Framework\Date\CDateTime;
19
+use PH7\Framework\Config\Config;
20
+use PH7\Framework\Mvc\Model\DbConfig;
21
+use PH7\Framework\Ip\Ip;
22
+use PH7\Framework\File\File;
23
+use PH7\Framework\Util\Various;
24
+use PH7\Framework\Geo\Ip\Geo;
25
+use PH7\Framework\Mvc\Router\Uri;
27 26
 
28 27
 class Twitter extends Api implements IApi
29 28
 {
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.