@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | $menuItems[] = '<li>' |
49 | 49 | . Html::beginForm(['/site/logout'], 'post') |
50 | 50 | . Html::submitButton( |
51 | - 'Logout (' . Yii::$app->user->identity->username . ')', |
|
51 | + 'Logout ('.Yii::$app->user->identity->username.')', |
|
52 | 52 | ['class' => 'btn btn-link'] |
53 | 53 | ) |
54 | 54 | . Html::endForm() |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | |
71 | 71 | <footer class="footer"> |
72 | 72 | <div class="container"> |
73 | - <p class="pull-left">© <?php echo Yii::$app->name . ' ' . date('Y'); ?></p> |
|
73 | + <p class="pull-left">© <?php echo Yii::$app->name.' '.date('Y'); ?></p> |
|
74 | 74 | <?php echo Menu::widget([ |
75 | 75 | 'items' => [ |
76 | 76 | ['label' => 'Terms & Conditions', 'url' => ['/terms-and-conditions']], |
@@ -9,7 +9,7 @@ |
||
9 | 9 | */ |
10 | 10 | return [ |
11 | 11 | // string, required, root directory of all source files |
12 | - 'sourcePath' => __DIR__ . DIRECTORY_SEPARATOR . '..', |
|
12 | + 'sourcePath' => __DIR__.DIRECTORY_SEPARATOR.'..', |
|
13 | 13 | // array, required, list of language codes that the extracted messages |
14 | 14 | // should be translated to. For example, ['zh-CN', 'de']. |
15 | 15 | 'languages' => ['en'], |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | */ |
49 | 49 | public function beforeAction($action) |
50 | 50 | { |
51 | - $this->command = $action->controller->id . '/' . $action->id; |
|
51 | + $this->command = $action->controller->id.'/'.$action->id; |
|
52 | 52 | |
53 | 53 | if ($this->isDisabledAction($action->id)) { |
54 | 54 | $this->stdout("Command '{$this->command}' is disabled.\n", Console::FG_RED); |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | return false; |
61 | 61 | } |
62 | 62 | |
63 | - $this->stdout("Running the command `{$this->command}` at the " . Yii::$app->formatter->asDatetime(time()) . "\n", Console::FG_GREEN); |
|
63 | + $this->stdout("Running the command `{$this->command}` at the ".Yii::$app->formatter->asDatetime(time())."\n", Console::FG_GREEN); |
|
64 | 64 | |
65 | 65 | return true; |
66 | 66 | } |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | { |
78 | 78 | $result = parent::afterAction($action, $result); |
79 | 79 | |
80 | - $this->stdout("Command `{$this->command}` finished at the " . Yii::$app->formatter->asDatetime(time()) . "\n", Console::FG_GREEN); |
|
80 | + $this->stdout("Command `{$this->command}` finished at the ".Yii::$app->formatter->asDatetime(time())."\n", Console::FG_GREEN); |
|
81 | 81 | |
82 | 82 | return $result; |
83 | 83 | } |