Completed
Push — master ( 5f640f...f30f41 )
by Pierre-Henry
34:09
created
_protected/app/system/modules/affiliate/inc/class/Registration.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 / Affiliate / Inc / Class
7 7
  */
8 8
 namespace PH7;
9
-use PH7\Framework\Mvc\Model\DbConfig, PH7\Framework\Mvc\Router\Uri;
9
+use PH7\Framework\Mvc\Model\DbConfig;
10
+use PH7\Framework\Mvc\Router\Uri;
10 11
 
11 12
 class Registration extends RegistrationCore
12 13
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/affiliate/models/AffiliateModel.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\Security, PH7\Framework\Mvc\Model\Engine\Db;
10
+use PH7\Framework\Security\Security;
11
+use PH7\Framework\Mvc\Model\Engine\Db;
11 12
 
12 13
 class AffiliateModel extends AffiliateCoreModel
13 14
 {
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/blog/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 / Blog / 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 MainController
12 13
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/blog/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 / Blog / Controller
7 7
  */
8 8
 namespace PH7;
9
-use PH7\Framework\Parse\Emoticon, PH7\Framework\Navigation\Page;
9
+use PH7\Framework\Parse\Emoticon;
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/blog/forms/EditAdminBlogForm.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\Str\Str,
12
-PH7\Framework\Security\CSRF\Token,
13
-PH7\Framework\Mvc\Request\Http,
14
-PH7\Framework\Mvc\Router\Uri;
10
+use PH7\Framework\Str\Str;
11
+use PH7\Framework\Security\CSRF\Token;
12
+use PH7\Framework\Mvc\Request\Http;
13
+use PH7\Framework\Mvc\Router\Uri;
15 14
 
16 15
 class EditAdminBlogForm
17 16
 {
Please login to merge, or discard this patch.
app/system/modules/blog/forms/processing/AdminBlogFormProcess.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 die('Restricted access');
10 10
 
11
-use
12
-PH7\Framework\Mvc\Model\Engine\Db,
13
-PH7\Framework\Mvc\Request\Http,
14
-PH7\Framework\Url\Header,
15
-PH7\Framework\Mvc\Router\Uri;
11
+use PH7\Framework\Mvc\Model\Engine\Db;
12
+use PH7\Framework\Mvc\Request\Http;
13
+use PH7\Framework\Url\Header;
14
+use PH7\Framework\Mvc\Router\Uri;
16 15
 
17 16
 class AdminBlogFormProcess extends Form
18 17
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/blog/models/BlogModel.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -12,6 +12,11 @@  discard block
 block discarded – undo
12 12
 class BlogModel extends BlogCoreModel
13 13
 {
14 14
 
15
+    /**
16
+     * @param string $iBlogId
17
+     * @param integer $iOffset
18
+     * @param integer $iLimit
19
+     */
15 20
     public function getCategory($iBlogId = null, $iOffset, $iLimit, $bCount = false)
16 21
     {
17 22
         $this->cache->start(self::CACHE_GROUP, 'category' . $iBlogId . $iOffset . $iLimit . $bCount, static::CACHE_TIME);
@@ -190,6 +195,9 @@  discard block
 block discarded – undo
190 195
         return $sData;
191 196
     }
192 197
 
198
+    /**
199
+     * @param string $sPostId
200
+     */
193 201
     public function postIdExists($sPostId)
194 202
     {
195 203
         $this->cache->start(self::CACHE_GROUP, 'postIdExists' . $sPostId, static::CACHE_TIME);
@@ -228,6 +236,9 @@  discard block
 block discarded – undo
228 236
         $rStmt->execute();
229 237
     }
230 238
 
239
+     /**
240
+      * @param string $sSection
241
+      */
231 242
      public function updatePost($sSection, $sValue, $iBlogId)
232 243
      {
233 244
          $this->orm->update('Blogs', $sSection, $sValue, 'blogId', $iBlogId);
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.