Passed
Push — master ( 998022...62594f )
by Mihail
09:58
created
Apps/View/Front/default/content/read.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -67,17 +67,23 @@
 block discarded – undo
67 67
         <?php if ($properties['author'] === true): ?>
68 68
             <?php if ($model->authorId !== null && $model->authorId > 0): ?>
69 69
                 <span><i class="fa fa-user"></i><?= Url::link(['profile/show', $model->authorId], $model->authorName, ['itemprop' => 'author']) ?></span>
70
-            <?php else: ?>
70
+            <?php else {
71
+    : ?>
71 72
                 <span><i class="fa fa-user"></i><s><?= $model->authorName ?></s></span>
72
-            <?php endif; ?>
73
+            <?php endif;
74
+}
75
+?>
73 76
         <?php endif; ?>
74 77
         <?php if ($properties['views'] === true): ?>
75 78
         <span><i class="fa fa-eye"></i><?= $model->views ?></span>
76 79
         <?php endif ?>
77 80
     </div>
78
-    <?php else: ?>
81
+    <?php else {
82
+    : ?>
79 83
     <hr />
80
-    <?php endif; ?>
84
+    <?php endif;
85
+}
86
+?>
81 87
     <?php if ($trash): ?>
82 88
     <p class="alert alert-danger"><i class="fa fa-trash-o"></i> <?= __('This content is placed in trash') ?></p>
83 89
     <?php endif; ?>
Please login to merge, or discard this patch.
Private/Config/Routing.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -1,13 +1,13 @@
 block discarded – undo
1 1
 <?php return [
2
-	'Alias' => [
3
-		'Front' => [
4
-			'/' => '/content/list/news',
5
-			'/about' => '/content/read/page/about-page'
6
-		]
7
-	],
8
-	'Callback' => [
9
-		'Front' => [
10
-			'Demo' => '\Apps\Controller\Front\Main'
11
-		]
12
-	]
2
+    'Alias' => [
3
+        'Front' => [
4
+            '/' => '/content/list/news',
5
+            '/about' => '/content/read/page/about-page'
6
+        ]
7
+    ],
8
+    'Callback' => [
9
+        'Front' => [
10
+            'Demo' => '\Apps\Controller\Front\Main'
11
+        ]
12
+    ]
13 13
 ];
14 14
\ No newline at end of file
Please login to merge, or discard this patch.