Passed
Push — master ( 7d49ae...2c7b37 )
by Josh
03:23
created
src/Blendable/TemplateVariable.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.