@@ -119,12 +119,12 @@ |
||
| 119 | 119 | { |
| 120 | 120 | $str = "+ [{$this->getText(['slug', 'menu', 'another'])}](../docs/" . $this->getFileName($this->lang == 'ru' ? 'en' : 'ru') . ')' . PHP_EOL; |
| 121 | 121 | foreach ([ |
| 122 | - ['slug', 'menu', 'desc'], |
|
| 123 | - ['slug', 'menu', 'features'], |
|
| 124 | - ['slug', 'menu', 'services'], |
|
| 125 | - ['install'], |
|
| 126 | - ['example'], |
|
| 127 | - ] as $anchor) { |
|
| 122 | + ['slug', 'menu', 'desc'], |
|
| 123 | + ['slug', 'menu', 'features'], |
|
| 124 | + ['slug', 'menu', 'services'], |
|
| 125 | + ['install'], |
|
| 126 | + ['example'], |
|
| 127 | + ] as $anchor) { |
|
| 128 | 128 | $str .= "+ [{$this->getText($anchor)}](#" . implode('-', explode(' ', $this->getText($anchor))) . ')' . PHP_EOL; |
| 129 | 129 | } |
| 130 | 130 | |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | */ |
| 88 | 88 | public function getText($name, $separator = '; ') |
| 89 | 89 | { |
| 90 | - $getResult = function ($name, $texts) { |
|
| 90 | + $getResult = function($name, $texts) { |
|
| 91 | 91 | if (is_array($name)) { |
| 92 | 92 | $name = implode('_', $name); |
| 93 | 93 | } |
@@ -153,14 +153,14 @@ discard block |
||
| 153 | 153 | $str .= "###{$this->getText(['slug', 'menu'])}" . PHP_EOL; |
| 154 | 154 | $str .= $this->viewMenu() . PHP_EOL . PHP_EOL; |
| 155 | 155 | |
| 156 | - $str .= "###{$this->getText(['slug','menu','desc'])}" . PHP_EOL; |
|
| 156 | + $str .= "###{$this->getText(['slug', 'menu', 'desc'])}" . PHP_EOL; |
|
| 157 | 157 | $str .= $this->getText(['readme', 'main', 'desc']) . PHP_EOL . PHP_EOL; |
| 158 | 158 | |
| 159 | - $str .= "###{$this->getText(['slug','menu','features'])}" . PHP_EOL; |
|
| 159 | + $str .= "###{$this->getText(['slug', 'menu', 'features'])}" . PHP_EOL; |
|
| 160 | 160 | $str .= $this->getText(['readme', 'main', 'features'], PHP_EOL) . PHP_EOL . PHP_EOL; |
| 161 | 161 | |
| 162 | - $str .= "###{$this->getText(['slug','menu','services'])}" . PHP_EOL; |
|
| 163 | - $str .= "{$this->getText(['readme','main','services'])}" . PHP_EOL . PHP_EOL; |
|
| 162 | + $str .= "###{$this->getText(['slug', 'menu', 'services'])}" . PHP_EOL; |
|
| 163 | + $str .= "{$this->getText(['readme', 'main', 'services'])}" . PHP_EOL . PHP_EOL; |
|
| 164 | 164 | $str .= "{$this->viewServices()}" . PHP_EOL . PHP_EOL; |
| 165 | 165 | |
| 166 | 166 | |