Passed
Push — master ( 877040...ba0ddd )
by Josh
03:22
created
src/Helpers/MIGX/Field.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@
 block discarded – undo
198 198
      * @param string $value_separator ~ the separator between label and value
199 199
      * @return OptionValues
200 200
      */
201
-    public function loadOptionValues(string $separator='||', string $value_separator='==')
201
+    public function loadOptionValues(string $separator = '||', string $value_separator = '==')
202 202
     {
203 203
         $this->optionValues = new OptionValues($separator, $value_separator);
204 204
 
Please login to merge, or discard this patch.
src/Helpers/TemplateVariableInputInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,5 +20,5 @@
 block discarded – undo
20 20
     /**
21 21
      * @return array
22 22
      */
23
-    public function getInputProperties(): array ;
23
+    public function getInputProperties(): array;
24 24
 }
25 25
\ No newline at end of file
Please login to merge, or discard this patch.
src/Helpers/TVInput/OptionValues.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      * @param string $separator ~ the separator between items
23 23
      * @param string $value_separator ~ the separator between label and value
24 24
      */
25
-    public function __construct(string $separator='||', string $value_separator='==')
25
+    public function __construct(string $separator = '||', string $value_separator = '==')
26 26
     {
27 27
         $this->separator = $separator;
28 28
         $this->value_separator = $value_separator;
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
             if (!empty($string)) {
39 39
                 $string .= $this->separator;
40 40
             }
41
-            $string .= $label . $this->value_separator . $value;
41
+            $string .= $label.$this->value_separator.$value;
42 42
         }
43 43
 
44 44
         return $string;
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      * @param null $value
58 58
      * @return $this
59 59
      */
60
-    public function setOption(string $label, $value=null): self
60
+    public function setOption(string $label, $value = null): self
61 61
     {
62 62
         if (is_null($value)) {
63 63
             $value = $label;
Please login to merge, or discard this patch.
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.