@@ -22,7 +22,6 @@ |
||
| 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 |
@@ -21,7 +21,6 @@ |
||
| 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) |
@@ -27,9 +27,9 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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(); |
@@ -58,7 +58,7 @@ |
||
| 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(); |
@@ -60,7 +60,7 @@ |
||
| 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; |