@@ -76,7 +76,7 @@ |
||
76 | 76 | HeadElements::script('//cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.14.30/js/bootstrap-datetimepicker.min.js'), |
77 | 77 | HeadElements::style('//cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.14.30/css/bootstrap-datetimepicker.min.css'), |
78 | 78 | new Element('script', [], [ |
79 | - 'var dateTimePickerSettings = ' . json_encode($this->getOptions()) . ';' |
|
79 | + 'var dateTimePickerSettings = '.json_encode($this->getOptions()).';' |
|
80 | 80 | ]) |
81 | 81 | ]; |
82 | 82 | } |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | $confirm = true; |
84 | 84 | } |
85 | 85 | |
86 | - return (new Template(__DIR__ . '/ExecutionTemplate.html.php')) |
|
86 | + return (new Template(__DIR__.'/ExecutionTemplate.html.php')) |
|
87 | 87 | ->render([ |
88 | 88 | 'name' => $this->app->name, |
89 | 89 | 'caption' => $action->caption(), |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | 'token' => $action->isModifying() && $this->app->token ? [ |
98 | 98 | 'name' => self::TOKEN_ARG, |
99 | 99 | 'value' => $this->app->token->generate($actionId) |
100 | - ]: null |
|
100 | + ] : null |
|
101 | 101 | ]); |
102 | 102 | } |
103 | 103 | |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | } |
116 | 116 | |
117 | 117 | private function assembleBreadCrumbs() { |
118 | - return array_map(function (BreadCrumb $crumb) { |
|
118 | + return array_map(function(BreadCrumb $crumb) { |
|
119 | 119 | return [ |
120 | 120 | 'target' => $crumb->getTarget(), |
121 | 121 | 'caption' => $crumb->getCaption() |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | return (string)new Element('img', [ |
25 | 25 | 'title' => $value->getName(), |
26 | 26 | 'src' => $this->createUrl($value), |
27 | - 'style' => 'max-height:' . $this->maxHeight(), |
|
27 | + 'style' => 'max-height:'.$this->maxHeight(), |
|
28 | 28 | ]); |
29 | 29 | } |
30 | 30 | |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | } |
39 | 39 | |
40 | 40 | protected function createUrl(File $file) { |
41 | - return 'data:' . $file->getType() . ';base64,' . base64_encode($file->getContent()); |
|
41 | + return 'data:'.$file->getType().';base64,'.base64_encode($file->getContent()); |
|
42 | 42 | } |
43 | 43 | |
44 | 44 | protected function isImage(File $file) { |
@@ -25,7 +25,7 @@ |
||
25 | 25 | } |
26 | 26 | |
27 | 27 | return (string)new Element('span', [ |
28 | - 'style' => 'padding: 2pt 6pt; background-color: ' . $value->asHex() |
|
28 | + 'style' => 'padding: 2pt 6pt; background-color: '.$value->asHex() |
|
29 | 29 | ], [$value->asHex()]); |
30 | 30 | } |
31 | 31 |
@@ -29,9 +29,9 @@ |
||
29 | 29 | |
30 | 30 | while ($exception) { |
31 | 31 | $details .= $details ? 'Caused by: ' : 'Exception: '; |
32 | - $details .= $this->exception->getMessage() . "\n" . |
|
33 | - "In " . $this->exception->getFile() . '(' . $this->exception->getLine() . ")\n" . |
|
34 | - $this->exception->getTraceAsString() . "\n\n"; |
|
32 | + $details .= $this->exception->getMessage()."\n". |
|
33 | + "In ".$this->exception->getFile().'('.$this->exception->getLine().")\n". |
|
34 | + $this->exception->getTraceAsString()."\n\n"; |
|
35 | 35 | |
36 | 36 | $exception = $exception->getPrevious(); |
37 | 37 | } |
@@ -21,6 +21,6 @@ |
||
21 | 21 | } |
22 | 22 | |
23 | 23 | public function __toString() { |
24 | - return $this->id . ':' . $this->target; |
|
24 | + return $this->id.':'.$this->target; |
|
25 | 25 | } |
26 | 26 | } |
27 | 27 | \ No newline at end of file |
@@ -44,7 +44,7 @@ |
||
44 | 44 | "]); |
45 | 45 | |
46 | 46 | return (string)new Element('select', [ |
47 | - 'name' => $parameter->getName() . $fieldNameSuffix, |
|
47 | + 'name' => $parameter->getName().$fieldNameSuffix, |
|
48 | 48 | 'id' => $id, |
49 | 49 | 'class' => 'form-control combobox' |
50 | 50 | ], $children); |