Completed
Push — master ( 96c48f...3a5e24 )
by Anthony
02:19
created
app/controller/Comment.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,10 +31,10 @@
 block discarded – undo
31 31
 		
32 32
 		//-------------------------- GETTER ----------------------------------------------------------------------------//
33 33
 		public function getRequiredConnection() {
34
-		    return $this->required_connection;
34
+			return $this->required_connection;
35 35
 		}
36 36
 		public function getCheckComment() {
37
-		    return $this->check_comment;
37
+			return $this->check_comment;
38 38
 		}
39 39
 		
40 40
 		/**
Please login to merge, or discard this patch.
app/views/write-comment.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 			<input type="text" name="pseudo" placeholder="Your pseudo">
5 5
 		<?php else: ?>
6 6
 			<input type="hidden" name="pseudo" value="<?=$_SESSION['idlogin'.CLEF_SITE]?>">
7
-		<?php endif;?>
7
+		<?php endif; ?>
8 8
 		<textarea name="comment" id="" cols="30" rows="10"></textarea>
9 9
 		<button>Send</button>
10 10
 		
@@ -16,4 +16,4 @@  discard block
 block discarded – undo
16 16
 	<div class="row">
17 17
 		<p>You must be connected to publish a comment</p>
18 18
 	</div>
19
-<?php endif;?>
20 19
\ No newline at end of file
20
+<?php endif; ?>
21 21
\ No newline at end of file
Please login to merge, or discard this patch.
admin/controller/AdminComment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 		 * @return array
17 17
 		 * function to get values out of the class
18 18
 		 */
19
-		public function getValues(){
19
+		public function getValues() {
20 20
 			return ["comment" => $this->values];
21 21
 		}
22 22
 		
Please login to merge, or discard this patch.