Completed
Branch master (ae19d9)
by Pierre-Henry
36:56
created
_protected/app/system/modules/admin123/controllers/AdminController.php 1 patch
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,10 +9,9 @@
 block discarded – undo
9 9
  */
10 10
 namespace PH7;
11 11
 
12
-use
13
-PH7\Framework\Navigation\Page,
14
-PH7\Framework\Url\Header,
15
-PH7\Framework\Mvc\Router\Uri;
12
+use PH7\Framework\Navigation\Page;
13
+use PH7\Framework\Url\Header;
14
+use PH7\Framework\Mvc\Router\Uri;
16 15
 
17 16
 class AdminController extends Controller
18 17
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/admin123/controllers/ToolController.php 1 patch
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -10,10 +10,9 @@
 block discarded – undo
10 10
  */
11 11
 namespace PH7;
12 12
 
13
-use
14
-PH7\Framework\Mvc\Model\Engine as D,
15
-PH7\Framework\Url\Header,
16
-PH7\Framework\Mvc\Router\Uri;
13
+use PH7\Framework\Mvc\Model\Engine as D;
14
+use PH7\Framework\Url\Header;
15
+use PH7\Framework\Mvc\Router\Uri;
17 16
 
18 17
 class ToolController extends Controller
19 18
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/admin123/controllers/UserController.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -347,6 +347,9 @@
 block discarded – undo
347 347
         Header::redirect(Uri::get(PH7_ADMIN_MOD, 'user', 'browse'), $this->sMsg);
348 348
     }
349 349
 
350
+    /**
351
+     * @param integer $iStatus
352
+     */
350 353
     private function _moderateRegistration($iId, $iStatus)
351 354
     {
352 355
         if (isset($iId, $iStatus))
Please login to merge, or discard this 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\Navigation\Page,
12
-PH7\Framework\Url\Header,
13
-PH7\Framework\Mvc\Router\Uri;
10
+use PH7\Framework\Navigation\Page;
11
+use PH7\Framework\Url\Header;
12
+use PH7\Framework\Mvc\Router\Uri;
14 13
 
15 14
 class UserController extends Controller
16 15
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/admin123/inc/class/ImportUser.php 1 patch
Unused Use Statements   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -11,10 +11,9 @@
 block discarded – undo
11 11
 namespace PH7;
12 12
 defined('PH7') or exit('Restricted access');
13 13
 
14
-use
15
-PH7\Framework\Util\Various,
16
-PH7\Framework\Security\Validate\Validate,
17
-PH7\Framework\Ip\Ip;
14
+use PH7\Framework\Util\Various;
15
+use PH7\Framework\Security\Validate\Validate;
16
+use PH7\Framework\Ip\Ip;
18 17
 
19 18
 /** Reset the time limit and increase the memory **/
20 19
 @set_time_limit(0);
Please login to merge, or discard this patch.
_protected/app/system/modules/admin123/inc/class/Module.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -256,7 +256,7 @@
 block discarded – undo
256 256
      *
257 257
      * Note: This method is valid only for public methods, it is not necessary to check the private methods.
258 258
      * @param string $sSwitch The check constant.
259
-     * @return string Returns the constant if it is correct, otherwise an error message with exit() function.
259
+     * @return integer|null Returns the constant if it is correct, otherwise an error message with exit() function.
260 260
      */
261 261
     private function _checkParam($sSwitch)
262 262
     {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,8 @@
 block discarded – undo
10 10
  */
11 11
 namespace PH7;
12 12
 
13
-use PH7\Framework\Config\Config, PH7\Framework\File as F;
13
+use PH7\Framework\Config\Config;
14
+use PH7\Framework\File as F;
14 15
 
15 16
 @set_time_limit(0);
16 17
 @ini_set('memory_limit', '528M');
Please login to merge, or discard this patch.
_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/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.