Completed
Push — master ( 5451f5...b2343e )
by Magnus
01:53
created
src/Comment/HTMLForm/UpdateCommentForm.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     /**
15 15
      * Constructor injects with DI container and the id to update.
16 16
      *
17
-     * @param Anax\DI\DIInterface $di a service container
17
+     * @param DIInterface $di a service container
18 18
      * @param integer             $id to update
19 19
      */
20 20
     public function __construct(DIInterface $di, $id)
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      * Callback for submit-button which should return true if it could
67 67
      * carry out its work and false if something failed.
68 68
      *
69
-     * @return boolean true if okey, false if something went wrong.
69
+     * @return boolean|null true if okey, false if something went wrong.
70 70
      */
71 71
     public function callbackSubmit()
72 72
     {
Please login to merge, or discard this patch.
src/User/UserController.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -33,7 +33,6 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * Description.
35 35
      *
36
-     * @param datatype $variable Description
37 36
      *
38 37
      * @throws Exception
39 38
      *
@@ -58,7 +57,6 @@  discard block
 block discarded – undo
58 57
     /**
59 58
      * Description.
60 59
      *
61
-     * @param datatype $variable Description
62 60
      *
63 61
      * @throws Exception
64 62
      *
@@ -91,7 +89,6 @@  discard block
 block discarded – undo
91 89
     /**
92 90
      * Description.
93 91
      *
94
-     * @param datatype $variable Description
95 92
      *
96 93
      * @throws Exception
97 94
      *
Please login to merge, or discard this patch.
src/User/HTMLForm/AdminUpdateUser.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     /**
15 15
      * Constructor injects with DI container and the id to update.
16 16
      *
17
-     * @param Anax\DI\DIInterface $di a service container
17
+     * @param DIInterface $di a service container
18 18
      * @param integer             $id to update
19 19
      */
20 20
     public function __construct(DIInterface $di, $id)
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      * Callback for submit-button which should return true if it could
67 67
      * carry out its work and false if something failed.
68 68
      *
69
-     * @return boolean true if okey, false if something went wrong.
69
+     * @return boolean|null true if okey, false if something went wrong.
70 70
      */
71 71
     public function callbackSubmit()
72 72
     {
Please login to merge, or discard this patch.
src/User/HTMLForm/UpdateProfileForm.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     /**
15 15
      * Constructor injects with DI container and the id to update.
16 16
      *
17
-     * @param Anax\DI\DIInterface $di a service container
17
+     * @param DIInterface $di a service container
18 18
      * @param integer             $id to update
19 19
      */
20 20
     public function __construct(DIInterface $di, $id)
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      * Callback for submit-button which should return true if it could
67 67
      * carry out its work and false if something failed.
68 68
      *
69
-     * @return boolean true if okey, false if something went wrong.
69
+     * @return boolean|null true if okey, false if something went wrong.
70 70
      */
71 71
     public function callbackSubmit()
72 72
     {
Please login to merge, or discard this patch.
src/Page/PageRender.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@  discard block
 block discarded – undo
20 20
      * @param integer $status code to use when delivering the result.
21 21
      *
22 22
      * @SuppressWarnings(PHPMD.ExitExpression)
23
-     * @param string $title
24 23
      * @return void
25 24
      */
26 25
     public function renderPage($data = null, $status = 200)
@@ -47,7 +46,6 @@  discard block
 block discarded – undo
47 46
      * @param integer $status code to use when delivering the result.
48 47
      *
49 48
      * @SuppressWarnings(PHPMD.ExitExpression)
50
-     * @param string $title
51 49
      * @return void
52 50
      */
53 51
     public function renderLogin($data = null, $status = 200)
Please login to merge, or discard this patch.
src/Comment/HTMLForm/CreateCommentCommentForm.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * Constructor injects with DI container.
17 17
      *
18
-     * @param Anax\DI\DIInterface $di a service container
18
+     * @param DIInterface $di a service container
19 19
      */
20 20
     public function __construct(DIInterface $di, $idcomment, $idpost)
21 21
     {
Please login to merge, or discard this patch.
src/Comment/HTMLForm/CreateCommentForm.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * Constructor injects with DI container.
17 17
      *
18
-     * @param Anax\DI\DIInterface $di a service container
18
+     * @param DIInterface $di a service container
19 19
      */
20 20
     public function __construct(DIInterface $di, $id)
21 21
     {
Please login to merge, or discard this patch.
src/Comment/HTMLForm/CreatePostForm.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     /**
18 18
      * Constructor injects with DI container.
19 19
      *
20
-     * @param Anax\DI\DIInterface $di a service container
20
+     * @param DIInterface $di a service container
21 21
      */
22 22
     public function __construct(DIInterface $di)
23 23
     {
@@ -89,6 +89,10 @@  discard block
 block discarded – undo
89 89
     }
90 90
 
91 91
 
92
+    /**
93
+     * @param string $tags
94
+     * @param integer $postId
95
+     */
92 96
     public function createCategory($tags, $postId)
93 97
     {
94 98
         $postcat = new PostCategory();
Please login to merge, or discard this patch.
src/Database/ActiveRecordModel.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -207,6 +207,7 @@  discard block
 block discarded – undo
207 207
     /**
208 208
      * Execute rawsql
209 209
      *
210
+     * @param string $sql
210 211
      * @return array
211 212
      */
212 213
     public function findAllSql($sql, $params = [])
@@ -242,6 +243,7 @@  discard block
 block discarded – undo
242 243
      * Save current object/row, insert if id is missing and do an
243 244
      * update if the id exists.
244 245
      *
246
+     * @param string $idName
245 247
      * @return void
246 248
      */
247 249
     public function save($idName = null, $id = null)
@@ -306,6 +308,7 @@  discard block
 block discarded – undo
306 308
      * Delete row.
307 309
      *
308 310
      * @param integer $id to delete or use $this->id as default.
311
+     * @param string $idName
309 312
      *
310 313
      * @return void
311 314
      */
Please login to merge, or discard this patch.