@@ -32,7 +32,7 @@ |
||
32 | 32 | */ |
33 | 33 | public function setHeight($height) |
34 | 34 | { |
35 | - $this->setStyle(['height' => $height . 'px']); |
|
35 | + $this->setStyle(['height' => $height.'px']); |
|
36 | 36 | return $this; |
37 | 37 | } |
38 | 38 | } |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | $styleData = []; |
93 | 93 | |
94 | 94 | if (isset($this->attribs['style'])) { |
95 | - call_user_func(function () use (&$styleData) { |
|
95 | + call_user_func(function() use (&$styleData) { |
|
96 | 96 | foreach (explode(';', $this->attribs['style']) as $pair) { |
97 | 97 | list($name, $value) = explode(':', $pair); |
98 | 98 | $styleData[trim($name)] = trim($value); |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | |
111 | 111 | $stylePairs = []; |
112 | 112 | foreach ($styleData as $name => $value) { |
113 | - $stylePairs[] = $name . ': ' . $value; |
|
113 | + $stylePairs[] = $name.': '.$value; |
|
114 | 114 | } |
115 | 115 | |
116 | 116 | $this->setAttribute('style', join('; ', $stylePairs)); |
@@ -17,6 +17,6 @@ |
||
17 | 17 | public function init() |
18 | 18 | { |
19 | 19 | $this->hasRoute() and $this->getData()->options['regex'] = $this->getRoute(); |
20 | - $this->hasSpec() and $this->getData()->options['spec'] = $this->getSpec(); |
|
20 | + $this->hasSpec() and $this->getData()->options['spec'] = $this->getSpec(); |
|
21 | 21 | } |
22 | 22 | } |
@@ -19,8 +19,8 @@ |
||
19 | 19 | $options = []; |
20 | 20 | |
21 | 21 | $stream and $options['stream'] = $stream; |
22 | - $mode and $options['mode'] = $mode; |
|
23 | - $mode and $options['logSeparator'] = $separator; |
|
22 | + $mode and $options['mode'] = $mode; |
|
23 | + $mode and $options['logSeparator'] = $separator; |
|
24 | 24 | |
25 | 25 | $this->mergeArray([ |
26 | 26 | 'name' => 'stream', |
@@ -19,7 +19,7 @@ |
||
19 | 19 | $this->setType('file'); |
20 | 20 | $this->setOptions([ |
21 | 21 | 'path' => $path ? $path : 'tmp/mail', |
22 | - 'callback' => Filename::class . '::create', |
|
22 | + 'callback' => Filename::class.'::create', |
|
23 | 23 | ]); |
24 | 24 | } |
25 | 25 | } |
@@ -23,10 +23,10 @@ |
||
23 | 23 | $params = [$this->message]; |
24 | 24 | foreach ($args as $arg) { |
25 | 25 | if (is_string($arg)) { |
26 | - $params[] = '`' . $arg . '`'; |
|
26 | + $params[] = '`'.$arg.'`'; |
|
27 | 27 | |
28 | 28 | } elseif (is_object($arg)) { |
29 | - $params[] = '`' . get_class($arg) . '`'; |
|
29 | + $params[] = '`'.get_class($arg).'`'; |
|
30 | 30 | } else { |
31 | 31 | $params[] = print_r($arg, true); |
32 | 32 | } |
@@ -46,6 +46,6 @@ |
||
46 | 46 | $node |
47 | 47 | ->setPriority(-110) |
48 | 48 | ->setLocator('head') |
49 | - ->setHtml('{$_innerHtml} <script src="' . $this->src . '" type="text/javascript"></script>'); |
|
49 | + ->setHtml('{$_innerHtml} <script src="'.$this->src.'" type="text/javascript"></script>'); |
|
50 | 50 | } |
51 | 51 | } |
@@ -18,7 +18,7 @@ |
||
18 | 18 | { |
19 | 19 | parent::configure($node); |
20 | 20 | |
21 | - $node->setHtml($node->getHtml() . '<script>$( function() { |
|
21 | + $node->setHtml($node->getHtml().'<script>$( function() { |
|
22 | 22 | $( ".accordion" ).accordion({ |
23 | 23 | heightStyle: "content" |
24 | 24 | }); |
@@ -46,6 +46,6 @@ |
||
46 | 46 | $node |
47 | 47 | ->setPriority(-100) |
48 | 48 | ->setLocator('head') |
49 | - ->setHtml('{$_innerHtml} <link href="' . $this->href . '" rel="stylesheet"/>'); |
|
49 | + ->setHtml('{$_innerHtml} <link href="'.$this->href.'" rel="stylesheet"/>'); |
|
50 | 50 | } |
51 | 51 | } |