@@ -46,6 +46,6 @@ |
||
46 | 46 | $node |
47 | 47 | ->setPriority(-110) |
48 | 48 | ->setLocator('head') |
49 | - ->setHtml('{$_innerHtml} <script src="' . $this->src . '"></script>'); |
|
49 | + ->setHtml('{$_innerHtml} <script src="'.$this->src.'"></script>'); |
|
50 | 50 | } |
51 | 51 | } |
@@ -63,12 +63,12 @@ discard block |
||
63 | 63 | |
64 | 64 | $newArgumentsDescription = []; |
65 | 65 | foreach ($argumentsDescription as $key => $value) { |
66 | - $newArgumentsDescription[" <green>$key</green>"] = '- ' . $value; |
|
66 | + $newArgumentsDescription[" <green>$key</green>"] = '- '.$value; |
|
67 | 67 | } |
68 | 68 | |
69 | 69 | $newOptionsDescription = []; |
70 | 70 | foreach ($optionsDescription as $key => $value) { |
71 | - $newOptionsDescription[" <green>--$key</green>"] = '- ' . $value; |
|
71 | + $newOptionsDescription[" <green>--$key</green>"] = '- '.$value; |
|
72 | 72 | } |
73 | 73 | |
74 | 74 | $cli = $event->getCli(); |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | $description |
82 | 82 | and $cli |
83 | 83 | ->yellow()->bold('Description:') |
84 | - ->out(' ' . str_replace(PHP_EOL, PHP_EOL . ' ', $description))->br(); |
|
84 | + ->out(' '.str_replace(PHP_EOL, PHP_EOL.' ', $description))->br(); |
|
85 | 85 | |
86 | 86 | $newArgumentsDescription |
87 | 87 | and $cli |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | $credits = $event->getApp()->get(Credits::class); |
42 | 42 | |
43 | 43 | // third-party |
44 | - foreach ($credits->getCredits(__DIR__ . '/../../../vendor') as $item) { |
|
44 | + foreach ($credits->getCredits(__DIR__.'/../../../vendor') as $item) { |
|
45 | 45 | $cli->bold($item[0])->whisper($item[1]); |
46 | 46 | } |
47 | 47 | |
@@ -53,10 +53,10 @@ discard block |
||
53 | 53 | ->comment($note) |
54 | 54 | ->border()->br() |
55 | 55 | ->bold()->inline(Credits::VENDOR_COPYRIGHT) |
56 | - ->out(' (' . Credits::VENDOR_URL . ')') |
|
56 | + ->out(' ('.Credits::VENDOR_URL.')') |
|
57 | 57 | ->bold()->inline('Author: ') |
58 | 58 | ->whisper()->inline(Credits::AUTHOR_NAME) |
59 | - ->out(' (' . Credits::AUTHOR_URL . ')') |
|
59 | + ->out(' ('.Credits::AUTHOR_URL.')') |
|
60 | 60 | ->br(); |
61 | 61 | } |
62 | 62 | } |
@@ -94,7 +94,7 @@ |
||
94 | 94 | } |
95 | 95 | |
96 | 96 | $space = str_repeat(' ', $maxLen + 10 - strlen($command)); |
97 | - $cli->out($space . ' - ' . $title); |
|
97 | + $cli->out($space.' - '.$title); |
|
98 | 98 | } |
99 | 99 | |
100 | 100 | $cli->br(); |
@@ -77,7 +77,7 @@ |
||
77 | 77 | } |
78 | 78 | |
79 | 79 | $_response = $this->getResponse(); |
80 | - $_response->setContent($_response->getContent() . $this->normalizeResponseContent($response)); |
|
80 | + $_response->setContent($_response->getContent().$this->normalizeResponseContent($response)); |
|
81 | 81 | return $this; |
82 | 82 | } |
83 | 83 |
@@ -639,7 +639,7 @@ |
||
639 | 639 | */ |
640 | 640 | public function sp($count = 1) |
641 | 641 | { |
642 | - for ($i=0; $i < $count; $i++) { |
|
642 | + for ($i = 0; $i < $count; $i++) { |
|
643 | 643 | $this->engine->inline(' '); |
644 | 644 | } |
645 | 645 | return $this; |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | $styleData = []; |
87 | 87 | |
88 | 88 | if (!empty($this->attribs['style'])) { |
89 | - call_user_func(function () use (&$styleData) { |
|
89 | + call_user_func(function() use (&$styleData) { |
|
90 | 90 | foreach (explode(';', $this->attribs['style']) as $pair) { |
91 | 91 | list($name, $value) = explode(':', $pair); |
92 | 92 | $styleData[trim($name)] = trim($value); |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | |
109 | 109 | $stylePairs = []; |
110 | 110 | foreach ($styleData as $name => $value) { |
111 | - $stylePairs[] = $name . ': ' . $value; |
|
111 | + $stylePairs[] = $name.': '.$value; |
|
112 | 112 | } |
113 | 113 | |
114 | 114 | $this->setAttribute('style', join('; ', $stylePairs)); |
@@ -24,7 +24,7 @@ |
||
24 | 24 | */ |
25 | 25 | public function setHeight($height, $units = 'px') |
26 | 26 | { |
27 | - $this->setStyle(['height' => $height . $units]); |
|
27 | + $this->setStyle(['height' => $height.$units]); |
|
28 | 28 | return $this; |
29 | 29 | } |
30 | 30 | } |