Completed
Push — develop ( 11f198...2bba6a )
by Daniel
08:04 queued 01:28
created
src/Exception/InvalidEntityException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     public function __construct(ConstraintViolationListInterface $errors, string $message = '', int $code = 0, Throwable $previous = null)
16 16
     {
17 17
         $this->errors = $errors;
18
-        parent::__construct((string)$errors . '. ' . $message, $code, $previous);
18
+        parent::__construct((string) $errors . '. ' . $message, $code, $previous);
19 19
     }
20 20
 
21 21
     public function getErrors()
Please login to merge, or discard this patch.
src/Factory/Entity/Content/Component/Content/ContentFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
                 $url,
53 53
                 self::getGuzzleOps()
54 54
             );
55
-            return (string)$res->getBody();
55
+            return (string) $res->getBody();
56 56
         } catch (RequestException $e) {
57 57
             return vsprintf(
58 58
                 '<p><b>Request Exception</b>: %s<br/><small><a href="%s">%s</a></small></p>',
Please login to merge, or discard this patch.
src/Uploader/FileUploader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
         $this->propertyAccessor->setValue($entity, $field, $file);
57 57
         $errors = $this->validator->validate($entity);
58 58
         if ($errors !== null && \count($errors)) {
59
-            throw new InvalidArgumentException((string)$errors);
59
+            throw new InvalidArgumentException((string) $errors);
60 60
         }
61 61
     }
62 62
 
Please login to merge, or discard this patch.
src/Entity/Content/ComponentGroup.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         $this->parent = $parent;
63 63
         if ($parent && $cascadeValidComponent !== false) {
64 64
             // convert to bool again for $force (null becomes false)
65
-            $this->cascadeValidComponents($parent, (bool)$cascadeValidComponent);
65
+            $this->cascadeValidComponents($parent, (bool) $cascadeValidComponent);
66 66
         }
67 67
         if (null === $this->sort || $sortLast !== null) {
68 68
             $this->setSort($this->calculateSort($sortLast));
Please login to merge, or discard this patch.
src/Entity/Content/Component/Form/FormView.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
                 if (method_exists($choice, 'getMessage')) {
102 102
                     $this->vars[$var][] = $choice->getMessage();
103 103
                 } else {
104
-                    $this->vars[$var][] = (array)$choice;
104
+                    $this->vars[$var][] = (array) $choice;
105 105
                 }
106 106
             }
107 107
         }
Please login to merge, or discard this patch.