@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | * @param string $type |
108 | 108 | * @return MIGXTemplateVariableInput |
109 | 109 | */ |
110 | - public function getMIGXInputPropertyHelper(string $type='migx') |
|
110 | + public function getMIGXInputPropertyHelper(string $type = 'migx') |
|
111 | 111 | { |
112 | 112 | $this->setFieldType($type); |
113 | 113 | return new MIGXTemplateVariableInput($this->getFieldType()); |
@@ -222,7 +222,7 @@ discard block |
||
222 | 222 | * @param string $context - default is web |
223 | 223 | * @return $this |
224 | 224 | */ |
225 | - public function setMediaSource($name = 'Filesystem', $context='web') |
|
225 | + public function setMediaSource($name = 'Filesystem', $context = 'web') |
|
226 | 226 | { |
227 | 227 | $this->media_sources[$name] = $context; |
228 | 228 | if ($context == 'web') { |
@@ -336,7 +336,7 @@ discard block |
||
336 | 336 | $modMediaSourceElement->set('source', $this->convertSource($name)); |
337 | 337 | |
338 | 338 | if (!$modMediaSourceElement->save()) { |
339 | - $this->blender->out('Template variable ' .$this->xPDOSimpleObject->get('name'). |
|
339 | + $this->blender->out('Template variable '.$this->xPDOSimpleObject->get('name'). |
|
340 | 340 | 'did not attached the media source: '.$name); |
341 | 341 | } |
342 | 342 | } |