Passed
Push — main ( 1dcc5d...2357cb )
by Pan
02:14
created
src/Controller/ErrorHandlerController.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
      * @param string $message with details.
23 23
      *
24 24
      * @throws Anax\Route\Exception\NotFoundException
25
-
26 25
      * @return object as the response.
27 26
      */
28 27
     public function catchAll(...$args) : object
Please login to merge, or discard this patch.
src/Controller/DevelopmentController.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
      * @param array $args as a variadic to catch all arguments.
22 22
      *
23 23
      * @throws Anax\Route\Exception\NotFoundException when route is not found.
24
-
25 24
      * @return object as the response.
26 25
      *
27 26
      * @SuppressWarnings(PHPMD.UnusedFormalParameter)
Please login to merge, or discard this patch.
src/User/User.php 1 patch
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -33,26 +33,26 @@
 block discarded – undo
33 33
     public $deleted;
34 34
 
35 35
     /**
36
-    * Set the password.
37
-    *
38
-    * @param string $password the password to use.
39
-    *
40
-    * @return void
41
-    */
36
+     * Set the password.
37
+     *
38
+     * @param string $password the password to use.
39
+     *
40
+     * @return void
41
+     */
42 42
     public function setPassword($password)
43 43
     {
44 44
         $this->password = password_hash($password, PASSWORD_DEFAULT);
45 45
     }
46 46
 
47 47
     /**
48
-    * Verify the acronym and the password, if successful the object contains
49
-    * all details from the database row.
50
-    *
51
-    * @param string $acronym  acronym to check.
52
-    * @param string $password the password to use.
53
-    *
54
-    * @return boolean true if acronym and password matches, else false.
55
-    */
48
+     * Verify the acronym and the password, if successful the object contains
49
+     * all details from the database row.
50
+     *
51
+     * @param string $acronym  acronym to check.
52
+     * @param string $password the password to use.
53
+     *
54
+     * @return boolean true if acronym and password matches, else false.
55
+     */
56 56
     public function verifyPassword($acronym, $password)
57 57
     {
58 58
         $this->find("username", $acronym);
Please login to merge, or discard this patch.
src/Post/PostController1.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -195,8 +195,8 @@
 block discarded – undo
195 195
         }
196 196
         $page->add("post/show",
197 197
             ["post"  => $posts[0],
198
-             "postscore"  => $postscore[0]->postscore?:0,
199
-             "totalanswer"  => $answer[0]->totalanswer?:0,
198
+                "postscore"  => $postscore[0]->postscore?:0,
199
+                "totalanswer"  => $answer[0]->totalanswer?:0,
200 200
             "answers"  => $answers,
201 201
             "comments0"  => $comments0,
202 202
             "isOwner"  => $isOwner,
Please login to merge, or discard this patch.