Completed
Push — master ( 1526e4...f416ae )
by Nazar
04:08
created
components/modules/Comments/Comments.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @package   Comments
4
- * @category  modules
5
- * @author    Nazar Mokrynskyi <[email protected]>
6
- * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi
7
- * @license   MIT License, see license.txt
8
- */
3
+	 * @package   Comments
4
+	 * @category  modules
5
+	 * @author    Nazar Mokrynskyi <[email protected]>
6
+	 * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi
7
+	 * @license   MIT License, see license.txt
8
+	 */
9 9
 namespace cs;
10 10
 Event::instance()->on(
11 11
 	'System/Index/construct',
Please login to merge, or discard this patch.
components/modules/Comments/api/index.post.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @package   Comments
4
- * @category  modules
5
- * @author    Nazar Mokrynskyi <[email protected]>
6
- * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi
7
- * @license   MIT License, see license.txt
8
- */
3
+	 * @package   Comments
4
+	 * @category  modules
5
+	 * @author    Nazar Mokrynskyi <[email protected]>
6
+	 * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi
7
+	 * @license   MIT License, see license.txt
8
+	 */
9 9
 namespace cs\modules\Comments;
10 10
 use
11 11
 	cs\Config,
@@ -52,8 +52,8 @@  discard block
 block discarded – undo
52 52
 	throw new ExitException($L->comment_sending_server_error, 500);
53 53
 }
54 54
 /**
55
- * @var Comments $Comments
56
- */
55
+	 * @var Comments $Comments
56
+	 */
57 57
 $result = $Comments->add($_POST['item'], $_POST['text'], $_POST['parent']);
58 58
 if ($result) {
59 59
 	$result['comments'] = false;
Please login to merge, or discard this patch.
components/modules/Comments/api/index.put.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @package   Comments
4
- * @category  modules
5
- * @author    Nazar Mokrynskyi <[email protected]>
6
- * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi
7
- * @license   MIT License, see license.txt
8
- */
3
+	 * @package   Comments
4
+	 * @category  modules
5
+	 * @author    Nazar Mokrynskyi <[email protected]>
6
+	 * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi
7
+	 * @license   MIT License, see license.txt
8
+	 */
9 9
 namespace cs\modules\Comments;
10 10
 use
11 11
 	cs\Config,
@@ -54,8 +54,8 @@  discard block
 block discarded – undo
54 54
 	throw new ExitException($L->comment_editing_server_error, 500);
55 55
 }
56 56
 /**
57
- * @var Comments $Comments
58
- */
57
+	 * @var Comments $Comments
58
+	 */
59 59
 $result = $Comments->set($Route->route[0], $_POST['text']);
60 60
 if ($result) {
61 61
 	$Page->json($result['text']);
Please login to merge, or discard this patch.