Completed
Branch master (57084d)
by Pierre-Henry
35:51
created
_protected/app/system/modules/mail/config/Permission.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
 defined('PH7') or exit('Restricted access');
11 11
 
12
-use
13
-PH7\Framework\Layout\Html\Design,
14
-PH7\Framework\Mvc\Router\Uri,
15
-PH7\Framework\Url\Header;
12
+use PH7\Framework\Layout\Html\Design;
13
+use PH7\Framework\Mvc\Router\Uri;
14
+use PH7\Framework\Url\Header;
16 15
 
17 16
 class Permission extends PermissionCore
18 17
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/mail/models/MailModel.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      * @param integer $iRecipient
65 65
      * @param string $sTitle
66 66
      * @param string $sMessage
67
-     * @param string $sCreateDate
67
+     * @param string $sCreatedDate
68 68
      * @return mixed (boolean | integer) Returns the ID of the message on success or FALSE on failure.
69 69
      */
70 70
     public function sendMsg($iSender, $iRecipient, $sTitle, $sMessage, $sCreatedDate)
@@ -89,6 +89,9 @@  discard block
 block discarded – undo
89 89
         return $rStmt->execute();
90 90
     }
91 91
 
92
+    /**
93
+     * @param string $iMessageId
94
+     */
92 95
     public function adminDeleteMsg($iMessageId)
93 96
     {
94 97
         $rStmt = Db::getInstance()->prepare('DELETE FROM' . Db::prefix('Messages') . 'WHERE messageId = :messageId LIMIT 1');
@@ -104,6 +107,9 @@  discard block
 block discarded – undo
104 107
         Db::free($rStmt);
105 108
     }
106 109
 
110
+    /**
111
+     * @param integer $iMessageId
112
+     */
107 113
     public function getMsg($iMessageId)
108 114
     {
109 115
         $rStmt = Db::getInstance()->prepare('SELECT * FROM' . Db::prefix('Messages') . 'WHERE messageId = :messageId LIMIT 1');
Please login to merge, or discard this patch.
_protected/app/system/modules/newsletter/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/note/forms/EditNoteForm.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\Str\Str,
12
-PH7\Framework\Session\Session,
13
-PH7\Framework\Security\CSRF\Token,
14
-PH7\Framework\Mvc\Request\Http,
15
-PH7\Framework\Mvc\Router\Uri,
16
-PH7\Framework\Url\Header;
10
+use PH7\Framework\Str\Str;
11
+use PH7\Framework\Session\Session;
12
+use PH7\Framework\Security\CSRF\Token;
13
+use PH7\Framework\Mvc\Request\Http;
14
+use PH7\Framework\Mvc\Router\Uri;
15
+use PH7\Framework\Url\Header;
17 16
 
18 17
 class EditNoteForm
19 18
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/note/forms/processing/NoteFormProcess.php 1 patch
Unused Use Statements   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -9,12 +9,11 @@
 block discarded – undo
9 9
 
10 10
 defined('PH7') or die('Restricted access');
11 11
 
12
-use
13
-PH7\Framework\Mvc\Model\Engine\Db,
14
-PH7\Framework\Mvc\Model\DbConfig,
15
-PH7\Framework\Mvc\Request\Http,
16
-PH7\Framework\Url\Header,
17
-PH7\Framework\Mvc\Router\Uri;
12
+use PH7\Framework\Mvc\Model\Engine\Db;
13
+use PH7\Framework\Mvc\Model\DbConfig;
14
+use PH7\Framework\Mvc\Request\Http;
15
+use PH7\Framework\Url\Header;
16
+use PH7\Framework\Mvc\Router\Uri;
18 17
 
19 18
 class NoteFormProcess extends Form
20 19
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/note/models/NoteModel.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -12,6 +12,11 @@  discard block
 block discarded – undo
12 12
 class NoteModel extends NoteCoreModel
13 13
 {
14 14
 
15
+    /**
16
+     * @param string $iNoteId
17
+     * @param integer $iOffset
18
+     * @param integer $iLimit
19
+     */
15 20
     public function getCategory($iNoteId = null, $iOffset, $iLimit, $bCount = false)
16 21
     {
17 22
         $this->cache->start(self::CACHE_GROUP, 'category' . $iNoteId . $iOffset . $iLimit . $bCount, static::CACHE_TIME);
@@ -67,6 +72,9 @@  discard block
 block discarded – undo
67 72
         return $oData;
68 73
     }
69 74
 
75
+    /**
76
+     * @param integer $iProfileId
77
+     */
70 78
     public function addCategory($iCategoryId, $iNoteId, $iProfileId)
71 79
     {
72 80
         $rStmt = Db::getInstance()->prepare('INSERT INTO' . Db::prefix('NotesCategories') . '(categoryId, noteId, profileId) VALUES(:categoryId, :noteId, :profileId)');
@@ -77,6 +85,9 @@  discard block
 block discarded – undo
77 85
         Db::free($rStmt);
78 86
     }
79 87
 
88
+    /**
89
+     * @param string $iProfileId
90
+     */
80 91
     public function readPost($sPostId, $iProfileId, $iApproved = 1)
81 92
     {
82 93
         $this->cache->start(self::CACHE_GROUP, 'readPost' . $sPostId . $iProfileId . $iApproved, static::CACHE_TIME);
@@ -279,6 +290,10 @@  discard block
 block discarded – undo
279 290
         return $sData;
280 291
     }
281 292
 
293
+    /**
294
+     * @param string $sPostId
295
+     * @param integer $iProfileId
296
+     */
282 297
     public function postIdExists($sPostId, $iProfileId)
283 298
     {
284 299
         $this->cache->start(self::CACHE_GROUP, 'postIdExists' . $sPostId . $iProfileId, static::CACHE_TIME);
@@ -329,6 +344,9 @@  discard block
 block discarded – undo
329 344
         $this->updatePost('thumb', null, $iNoteId, $iProfileId);
330 345
     }
331 346
 
347
+    /**
348
+     * @param string $sSection
349
+     */
332 350
     public function updatePost($sSection, $sValue, $iNoteId, $iProfileId)
333 351
     {
334 352
         $rStmt = Db::getInstance()->prepare('UPDATE'.Db::prefix('Notes').'SET ' . $sSection . ' = :value WHERE noteId = :noteId AND profileId = :profileId');
Please login to merge, or discard this patch.
_protected/app/system/modules/picture/forms/PictureForm.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\Config\Config,
12
-PH7\Framework\Session\Session,
13
-PH7\Framework\Mvc\Request\Http,
14
-PH7\Framework\Mvc\Router\Uri;
10
+use PH7\Framework\Config\Config;
11
+use PH7\Framework\Session\Session;
12
+use PH7\Framework\Mvc\Request\Http;
13
+use PH7\Framework\Mvc\Router\Uri;
15 14
 
16 15
 class PictureForm
17 16
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/picture/forms/processing/AlbumFormProcess.php 1 patch
Unused Use Statements   +7 added lines, -8 removed lines patch added patch discarded remove patch
@@ -8,14 +8,13 @@
 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\Security\Moderation\Filter,
15
-PH7\Framework\Util\Various,
16
-PH7\Framework\Mvc\Model\DbConfig,
17
-PH7\Framework\Mvc\Router\Uri,
18
-PH7\Framework\Url\Header;
11
+use PH7\Framework\Mvc\Model\Engine\Db;
12
+use PH7\Framework\Image\Image;
13
+use PH7\Framework\Security\Moderation\Filter;
14
+use PH7\Framework\Util\Various;
15
+use PH7\Framework\Mvc\Model\DbConfig;
16
+use PH7\Framework\Mvc\Router\Uri;
17
+use PH7\Framework\Url\Header;
19 18
 
20 19
 class AlbumFormProcess extends Form
21 20
 {
Please login to merge, or discard this patch.
app/system/modules/picture/forms/processing/PictureFormProcess.php 1 patch
Unused Use Statements   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -11,13 +11,12 @@
 block discarded – undo
11 11
 namespace PH7;
12 12
 defined('PH7') or exit('Restricted access');
13 13
 
14
-use
15
-PH7\Framework\Image\Image,
16
-PH7\Framework\Security\Moderation\Filter,
17
-PH7\Framework\Util\Various,
18
-PH7\Framework\Mvc\Model\DbConfig,
19
-PH7\Framework\Mvc\Router\Uri,
20
-PH7\Framework\Url\Header;
14
+use PH7\Framework\Image\Image;
15
+use PH7\Framework\Security\Moderation\Filter;
16
+use PH7\Framework\Util\Various;
17
+use PH7\Framework\Mvc\Model\DbConfig;
18
+use PH7\Framework\Mvc\Router\Uri;
19
+use PH7\Framework\Url\Header;
21 20
 
22 21
 class PictureFormProcess extends Form
23 22
 {
Please login to merge, or discard this patch.