Passed
Pull Request — master (#1)
by
unknown
10:56 queued 05:50
created
views/menu/categoryItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 /* @var array $linkOptions */
6 6
 
7 7
 if (!isset($linkOptions)) {
8
-    $linkOptions = [];
8
+    $linkOptions = [ ];
9 9
 }
10 10
 
11 11
 echo Html::a($data->{'title_'.$shortLanguage},
Please login to merge, or discard this patch.
views/page/view.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -8,17 +8,17 @@  discard block
 block discarded – undo
8 8
 /* @var Article[] $articles */
9 9
 /* @var Pagination $pagination */
10 10
 
11
-$this->params['breadcrumbs'][] = $model->{'title_'.$this->params['shortLanguage']};
11
+$this->params[ 'breadcrumbs' ][ ] = $model->{'title_'.$this->params[ 'shortLanguage' ]};
12 12
 ?>
13 13
 
14
-<?php if (!empty($model->{'content_'.$this->params['shortLanguage']})): ?>
14
+<?php if (!empty($model->{'content_'.$this->params[ 'shortLanguage' ]})): ?>
15 15
     <section class="inform_block">
16 16
 
17 17
         <div class="container">
18 18
 
19 19
             <div class="row" data-animated="fadeIn">
20 20
                 <div class="col-lg-12 col-md-12 col-sm-10">
21
-                    <?php echo $model->{'content_'.$this->params['shortLanguage']} ?>
21
+                    <?php echo $model->{'content_'.$this->params[ 'shortLanguage' ]} ?>
22 22
                 </div>
23 23
             </div>
24 24
         </div>
@@ -36,15 +36,15 @@  discard block
 block discarded – undo
36 36
                         <div class="post">
37 37
                             <h2>
38 38
                                 <span class="<?php echo $article->icon ?>"></span>
39
-                                <a href="<?php echo '/'.$this->params['shortLanguage'].'/article/'.$article->alias ?>" alt="<?php echo $article->{'title_'.$this->params['shortLanguage']} ?>">
40
-                                    <?php echo $article->{'title_'.$this->params['shortLanguage']} ?>
39
+                                <a href="<?php echo '/'.$this->params[ 'shortLanguage' ].'/article/'.$article->alias ?>" alt="<?php echo $article->{'title_'.$this->params[ 'shortLanguage' ]} ?>">
40
+                                    <?php echo $article->{'title_'.$this->params[ 'shortLanguage' ]} ?>
41 41
                                 </a>
42 42
                             </h2>
43 43
                             <div class="post_meta"><?php echo Yii::t('articles', 'Posted').' '.BaseHelper::getDateAt($article->updated_at) ?></div>
44
-                            <?php echo $article->{'description_'.$this->params['shortLanguage']} ?>
44
+                            <?php echo $article->{'description_'.$this->params[ 'shortLanguage' ]} ?>
45 45
                         </div>
46
-                    <?php endforeach;?>
47
-                    <?php echo LinkPager::widget(['pagination' => $pagination]); ?>
46
+                    <?php endforeach; ?>
47
+                    <?php echo LinkPager::widget([ 'pagination' => $pagination ]); ?>
48 48
                 </div>
49 49
             </div>
50 50
         </div>
Please login to merge, or discard this patch.