Completed
Branch master (2a91d9)
by kna
04:22
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/Question/Question.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -27,9 +27,9 @@  discard block
 block discarded – undo
27 27
     public $user_id;
28 28
 
29 29
 
30
-      /**
31
-     * Method
32
-     */
30
+        /**
31
+         * Method
32
+         */
33 33
     public function getLastThree($obj)
34 34
     {
35 35
         $array = array();
@@ -41,9 +41,9 @@  discard block
 block discarded – undo
41 41
 
42 42
 
43 43
 
44
-      /**
45
-     * Method
46
-     */
44
+        /**
45
+         * Method
46
+         */
47 47
     public function getMostTags($obj)
48 48
     {
49 49
         $facebook = 0;
@@ -65,9 +65,9 @@  discard block
 block discarded – undo
65 65
     }
66 66
 
67 67
 
68
-      /**
69
-     * Method
70
-     */
68
+        /**
69
+         * Method
70
+         */
71 71
     public function getMostActive($questions, $answers, $comments)
72 72
     {
73 73
         $array = array();
Please login to merge, or discard this patch.
src/Question/HTMLForm/CreateAnswer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
         $filterMarkdown = new \Aiur18\Filter\MyTextFilter();
59 59
         $answerRes = $filterMarkdown->markdown($this->form->value("answer"));
60 60
 
61
-        $answer->user_id  = $_SESSION['user_id'];
61
+        $answer->user_id = $_SESSION['user_id'];
62 62
         $answer->answer = $answerRes;
63 63
         $answer->id_question = $this->idForQuestion;
64 64
         $answer->save();
Please login to merge, or discard this patch.
src/Question/HTMLForm/CreateComment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
         $filterMarkdown = new \Aiur18\Filter\MyTextFilter();
61 61
         $commentRes = $filterMarkdown->markdown($this->form->value("comment"));
62 62
 
63
-        $answer->user_id  = $_SESSION['user_id'];
63
+        $answer->user_id = $_SESSION['user_id'];
64 64
         $answer->comment = $commentRes;
65 65
         $answer->id_answer = $this->idForAnswer;
66 66
         $answer->id_question = $this->idForQuestion;
Please login to merge, or discard this patch.