Completed
Branch master (1c45ce)
by Pierre-Henry
32:38
created
_protected/app/system/core/classes/design/RatingDesignCore.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\Layout\Html\Design, PH7\Framework\Pattern\Statik;
10
+use PH7\Framework\Layout\Html\Design;
11
+use PH7\Framework\Pattern\Statik;
11 12
 
12 13
 class RatingDesignCore
13 14
 {
Please login to merge, or discard this patch.
_protected/app/system/core/classes/design/TwoFactorAuthDesignCore.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\Pattern\Statik, PH7\Framework\Mvc\Router\Uri;
10
+use PH7\Framework\Pattern\Statik;
11
+use PH7\Framework\Mvc\Router\Uri;
11 12
 
12 13
 class TwoFactorAuthDesignCore
13 14
 {
Please login to merge, or discard this patch.
_protected/app/system/core/classes/design/VideoDesignCore.php 1 patch
Unused Use Statements   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -14,12 +14,11 @@
 block discarded – undo
14 14
  */
15 15
 namespace PH7;
16 16
 
17
-use
18
-PH7\Framework\Date\Various,
19
-PH7\Framework\Video\Api,
20
-PH7\Framework\Mvc\Model\DbConfig,
21
-PH7\Framework\Pattern\Statik,
22
-PH7\Framework\File\File;
17
+use PH7\Framework\Date\Various;
18
+use PH7\Framework\Video\Api;
19
+use PH7\Framework\Mvc\Model\DbConfig;
20
+use PH7\Framework\Pattern\Statik;
21
+use PH7\Framework\File\File;
23 22
 
24 23
 class VideoDesignCore
25 24
 {
Please login to merge, or discard this patch.
_protected/app/system/core/forms/ConfigFileCoreForm.php 1 patch
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,8 @@
 block discarded – undo
11 11
 
12 12
 defined('PH7') or exit('Restricted access');
13 13
 
14
-use PH7\Framework\Str\Str, PH7\Framework\Registry\Registry;
14
+use PH7\Framework\Str\Str;
15
+use PH7\Framework\Registry\Registry;
15 16
 
16 17
 class ConfigFileCoreForm
17 18
 {
Please login to merge, or discard this patch.
app/system/core/forms/processing/ChangePasswordCoreFormProcess.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,6 @@
 block discarded – undo
8 8
 namespace PH7;
9 9
 defined('PH7') or exit('Restricted access');
10 10
 
11
-use PH7\Framework\Mvc\Router\Uri, PH7\Framework\Url\Header;
12
-
13 11
 /** For "user", "affiliate" and "admin" modules **/
14 12
 class ChangePasswordCoreFormProcess extends Form
15 13
 {
Please login to merge, or discard this patch.
_protected/app/system/core/forms/processing/DeleteUserCoreFormProcess.php 1 patch
Unused Use Statements   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -8,11 +8,10 @@
 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\Mail\Mail,
14
-PH7\Framework\Mvc\Router\Uri,
15
-PH7\Framework\Url\Header;
11
+use PH7\Framework\Mvc\Model\DbConfig;
12
+use PH7\Framework\Mail\Mail;
13
+use PH7\Framework\Mvc\Router\Uri;
14
+use PH7\Framework\Url\Header;
16 15
 
17 16
 /** For "user" and "affiliate" modules **/
18 17
 class DeleteUserCoreFormProcess extends Form
Please login to merge, or discard this patch.
_protected/app/system/core/models/AdminCoreModel.php 2 patches
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -17,6 +17,10 @@  discard block
 block discarded – undo
17 17
 {
18 18
     const CACHE_GROUP = 'db/sys/mod/admin';
19 19
 
20
+    /**
21
+     * @param integer $iOffset
22
+     * @param integer $iLimit
23
+     */
20 24
     public function browse($iOffset, $iLimit, $sTable = 'Members')
21 25
     {
22 26
         Various::checkModelTable($sTable);
@@ -34,6 +38,11 @@  discard block
 block discarded – undo
34 38
         return $rStmt->fetchAll(\PDO::FETCH_OBJ);
35 39
     }
36 40
 
41
+    /**
42
+     * @param boolean $bCount
43
+     * @param null|integer $iOffset
44
+     * @param null|integer $iLimit
45
+     */
37 46
     public function searchUser($mWhat, $sWhere, $iGroupId, $iBanned, $bCount, $sOrderBy, $sSort, $iOffset, $iLimit)
38 47
     {
39 48
         $bCount = (bool) $bCount;
@@ -74,6 +83,9 @@  discard block
 block discarded – undo
74 83
         }
75 84
     }
76 85
 
86
+    /**
87
+     * @param integer $iBan
88
+     */
77 89
     public function ban($iProfileId, $iBan, $sTable = 'Members')
78 90
     {
79 91
         Various::checkModelTable($sTable);
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,10 +7,8 @@
 block discarded – undo
7 7
  */
8 8
 namespace PH7;
9 9
 
10
-use
11
-PH7\Framework\Mvc\Model\Engine\Db,
12
-PH7\Framework\Mvc\Model\Engine\Record,
13
-PH7\Framework\Mvc\Model\Engine\Util\Various;
10
+use PH7\Framework\Mvc\Model\Engine\Db;
11
+use PH7\Framework\Mvc\Model\Engine\Util\Various;
14 12
 
15 13
 // Abstract Class
16 14
 class AdminCoreModel extends UserCoreModel
Please login to merge, or discard this patch.
_protected/app/system/core/models/DataCoreModel.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -14,6 +14,11 @@  discard block
 block discarded – undo
14 14
 
15 15
     const TB_PICTURE = 'Pictures', TB_VIDEO = 'Videos', MAX_ITEMS = 1000;
16 16
 
17
+    /**
18
+     * @param string $sTable
19
+     * @param integer $iOffset
20
+     * @param integer $iLimit
21
+     */
17 22
     public function getPicsVids($sTable, $sOrder, $iOffset, $iLimit)
18 23
     {
19 24
         $iOffset = (int) $iOffset;
@@ -29,6 +34,10 @@  discard block
 block discarded – undo
29 34
         return $oData;
30 35
     }
31 36
 
37
+    /**
38
+     * @param integer $iOffset
39
+     * @param integer $iLimit
40
+     */
32 41
     public function getForumsPosts($sOrder, $iOffset, $iLimit)
33 42
     {
34 43
         $iOffset = (int) $iOffset;
Please login to merge, or discard this patch.
_protected/app/system/core/models/MailCoreModel.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -13,6 +13,9 @@
 block discarded – undo
13 13
 class MailCoreModel extends Framework\Mvc\Model\Engine\Model
14 14
 {
15 15
 
16
+    /**
17
+     * @param string $iProfileId
18
+     */
16 19
     public static function countUnreadMsg($iProfileId)
17 20
     {
18 21
         $rStmt = Db::getInstance()->prepare('SELECT COUNT(status) AS unread FROM' . Db::prefix('Messages') .
Please login to merge, or discard this patch.