Completed
Push — master ( 5f640f...f30f41 )
by Pierre-Henry
34:09
created
_protected/app/system/modules/user/forms/JoinForm.php 1 patch
Unused Use Statements   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -7,13 +7,12 @@
 block discarded – undo
7 7
  */
8 8
 namespace PH7;
9 9
 
10
-use
11
-PH7\Framework\Geo\Ip\Geo,
12
-PH7\Framework\Config\Config,
13
-PH7\Framework\Mvc\Model\DbConfig,
14
-PH7\Framework\Session\Session,
15
-PH7\Framework\Mvc\Router\Uri,
16
-PH7\Framework\Url\Header;
10
+use PH7\Framework\Geo\Ip\Geo;
11
+use PH7\Framework\Config\Config;
12
+use PH7\Framework\Mvc\Model\DbConfig;
13
+use PH7\Framework\Session\Session;
14
+use PH7\Framework\Mvc\Router\Uri;
15
+use PH7\Framework\Url\Header;
17 16
 
18 17
 class JoinForm
19 18
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/user/forms/processing/JoinFormProcess.php 1 patch
Unused Use Statements   +9 added lines, -10 removed lines patch added patch discarded remove patch
@@ -8,16 +8,15 @@
 block discarded – undo
8 8
 namespace PH7;
9 9
 defined('PH7') or exit('Restricted access');
10 10
 
11
-use
12
-PH7\Framework\Mvc\Model\DbConfig,
13
-PH7\Framework\Security\Security,
14
-PH7\Framework\Mvc\Request\Http,
15
-PH7\Framework\Util\Various,
16
-PH7\Framework\Cookie\Cookie,
17
-PH7\Framework\Ip\Ip,
18
-PH7\Framework\Date\CDateTime,
19
-PH7\Framework\Mvc\Router\Uri,
20
-PH7\Framework\Url\Header;
11
+use PH7\Framework\Mvc\Model\DbConfig;
12
+use PH7\Framework\Security\Security;
13
+use PH7\Framework\Mvc\Request\Http;
14
+use PH7\Framework\Util\Various;
15
+use PH7\Framework\Cookie\Cookie;
16
+use PH7\Framework\Ip\Ip;
17
+use PH7\Framework\Date\CDateTime;
18
+use PH7\Framework\Mvc\Router\Uri;
19
+use PH7\Framework\Url\Header;
21 20
 
22 21
 class JoinFormProcess extends Form
23 22
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/user/forms/processing/LoginFormProcess.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\DbConfig,
13
-PH7\Framework\Mvc\Router\Uri,
14
-PH7\Framework\Url\Header,
15
-PH7\Framework\Security\Security,
16
-PH7\Framework\Mvc\Model\Security as SecurityModel;
11
+use PH7\Framework\Mvc\Model\DbConfig;
12
+use PH7\Framework\Mvc\Router\Uri;
13
+use PH7\Framework\Url\Header;
14
+use PH7\Framework\Security\Security;
15
+use PH7\Framework\Mvc\Model\Security as SecurityModel;
17 16
 
18 17
 class LoginFormProcess extends Form
19 18
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/user/models/VisitorModel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      * Assignment of attributes.
22 22
      *
23 23
      * @param integer $iProfileId Profile ID.
24
-     * @param integer $iVisitor ID User ID (visitor). Default NULL (this attribute is null only for the get method).
24
+     * @param integer $iVisitorId ID User ID (visitor). Default NULL (this attribute is null only for the get method).
25 25
      * @param string $sDateVisit The date of last visit. Default NULL (this attribute is null only for the get method).
26 26
      */
27 27
     public function __construct($iProfileId, $iVisitorId = null, $sDateVisit = null)
Please login to merge, or discard this patch.
_protected/app/system/modules/user/models/WallModel.php 1 patch
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -15,6 +15,10 @@  discard block
 block discarded – undo
15 15
 class WallModel extends Framework\Mvc\Model\Engine\Model
16 16
 {
17 17
 
18
+    /**
19
+     * @param string $iProfileId
20
+     * @param string $sCreatedDate
21
+     */
18 22
     public function add($iProfileId, $sPost, $sCreatedDate)
19 23
     {
20 24
         $rStmt = Db::getInstance()->prepare('INSERT INTO' . Db::prefix('MembersWall') . '(profileId, post, createdDate) VALUES (:profileId, :post, :createdDate)');
@@ -24,6 +28,10 @@  discard block
 block discarded – undo
24 28
         return $rStmt->execute();
25 29
     }
26 30
 
31
+    /**
32
+     * @param string $iProfileId
33
+     * @param string $sUpdatedDate
34
+     */
27 35
     public function edit($iProfileId, $sPost, $sUpdatedDate)
28 36
     {
29 37
         $rStmt = Db::getInstance()->prepare('UPDATE' . Db::prefix('MembersWall') . 'SET post = :post, updatedDate = :updatedDate WHERE profileId = :profileId');
@@ -33,6 +41,9 @@  discard block
 block discarded – undo
33 41
         return $rStmt->execute();
34 42
     }
35 43
 
44
+    /**
45
+     * @param string $iProfileId
46
+     */
36 47
     public function delete($iProfileId, $iWallId)
37 48
     {
38 49
         $rStmt = Db::getInstance()->prepare('DELETE FROM'.Db::prefix('MembersWall') . 'WHERE :profileId=:profileId AND wallId=:wallId');
@@ -41,6 +52,12 @@  discard block
 block discarded – undo
41 52
         return $rStmt->execute();
42 53
     }
43 54
 
55
+    /**
56
+     * @param string $iProfileId
57
+     * @param string $iWallId
58
+     * @param integer $iOffset
59
+     * @param integer $iLimit
60
+     */
44 61
     public function get($iProfileId, $iWallId = null, $iOffset, $iLimit)
45 62
     {
46 63
         $iOffset = (int) $iOffset;
@@ -59,6 +76,10 @@  discard block
 block discarded – undo
59 76
         return $oRow;
60 77
     }
61 78
 
79
+    /**
80
+     * @param integer $iOffset
81
+     * @param integer $iLimit
82
+     */
62 83
     public function getCommentProfile($iProfileId, $iOffset, $iLimit)
63 84
     {
64 85
         return (new CommentCoreModel)->read($iProfileId, 1, $iOffset, $iLimit, 'profile');
Please login to merge, or discard this patch.
_protected/app/system/modules/validate-site/config/Permission.php 1 patch
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,8 @@
 block discarded – undo
9 9
 namespace PH7;
10 10
 defined('PH7') or exit('Restricted access');
11 11
 
12
-use PH7\Framework\Url\Header, PH7\Framework\Mvc\Router\Uri;
12
+use PH7\Framework\Url\Header;
13
+use PH7\Framework\Mvc\Router\Uri;
13 14
 
14 15
 class Permission extends PermissionCore
15 16
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/video/controllers/MainController.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 / Video / Controller
7 7
  */
8 8
 namespace PH7;
9
-use PH7\Framework\Security\Ban\Ban, PH7\Framework\Navigation\Page;
9
+use PH7\Framework\Security\Ban\Ban;
10
+use PH7\Framework\Navigation\Page;
10 11
 
11 12
 class MainController extends Controller
12 13
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/video/forms/EditAlbumForm.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\Session\Session, PH7\Framework\Mvc\Request\Http;
10
+use PH7\Framework\Session\Session;
11
+use PH7\Framework\Mvc\Request\Http;
11 12
 
12 13
 class EditAlbumForm
13 14
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/video/forms/processing/AlbumFormProcess.php 1 patch
Unused Use Statements   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -8,13 +8,12 @@
 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\Image\Image,
14
-PH7\Framework\Util\Various,
15
-PH7\Framework\Mvc\Model\DbConfig,
16
-PH7\Framework\Mvc\Router\Uri,
17
-PH7\Framework\Url\Header;
11
+use PH7\Framework\Mvc\Model\Engine\Db;
12
+use PH7\Framework\Image\Image;
13
+use PH7\Framework\Util\Various;
14
+use PH7\Framework\Mvc\Model\DbConfig;
15
+use PH7\Framework\Mvc\Router\Uri;
16
+use PH7\Framework\Url\Header;
18 17
 
19 18
 class AlbumFormProcess extends Form
20 19
 {
Please login to merge, or discard this patch.