Passed
Branch master (a2bcba)
by Josh
02:14
created
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.
src/Blendable/Blendable.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -517,8 +517,8 @@  discard block
 block discarded – undo
517 517
     {
518 518
         if ($this->unique_key_length_limit > 0 && is_string($criteria) && strlen($criteria) > $this->unique_key_length_limit) {
519 519
             throw new BlendableKeyLengthException(
520
-                'Error: '.$this->unique_key_column . ' is limited to '.
521
-                $this->unique_key_length_limit .' and '.$criteria.' is '. strlen($criteria) . ' characters'
520
+                'Error: '.$this->unique_key_column.' is limited to '.
521
+                $this->unique_key_length_limit.' and '.$criteria.' is '.strlen($criteria).' characters'
522 522
             );
523 523
         }
524 524
 
@@ -621,7 +621,7 @@  discard block
 block discarded – undo
621 621
         if ($data == false) {
622 622
             if ($this->type == 'blend') {
623 623
                 $this->blender->outError('Error: Seed could not be found: '.$seed_key);
624
-                throw new BlendableException('Error: Seed could not be found: '.$seed_key . ' in '. print_r($this->seedCacheOptions, true));
624
+                throw new BlendableException('Error: Seed could not be found: '.$seed_key.' in '.print_r($this->seedCacheOptions, true));
625 625
             }
626 626
 
627 627
         } else {
Please login to merge, or discard this patch.