Completed
Push — master ( def748...9f3ddd )
by
unknown
15s
created
src/Media/Events/MediaObjectCreated.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,8 +124,8 @@
 block discarded – undo
124 124
             'mime_type' => $this->getMimeType()->toNative(),
125 125
             'description' => $this->getDescription()->toNative(),
126 126
             'copyright_holder' => $this->getCopyrightHolder()->toNative(),
127
-            'source_location' => (string) $this->getSourceLocation(),
128
-            'language' => (string) $this->getLanguage(),
127
+            'source_location' => (string)$this->getSourceLocation(),
128
+            'language' => (string)$this->getLanguage(),
129 129
         );
130 130
     }
131 131
 
Please login to merge, or discard this patch.
src/Media/Image.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -127,12 +127,12 @@
 block discarded – undo
127 127
     public function serialize()
128 128
     {
129 129
         return [
130
-            'media_object_id' => (string) $this->getMediaObjectId(),
131
-            'mime_type' => (string) $this->getMimeType(),
132
-            'description' => (string) $this->getDescription(),
133
-            'copyright_holder' => (string) $this->getCopyrightHolder(),
134
-            'source_location' => (string) $this->getSourceLocation(),
135
-            'language' => (string) $this->getLanguage(),
130
+            'media_object_id' => (string)$this->getMediaObjectId(),
131
+            'mime_type' => (string)$this->getMimeType(),
132
+            'description' => (string)$this->getDescription(),
133
+            'copyright_holder' => (string)$this->getCopyrightHolder(),
134
+            'source_location' => (string)$this->getSourceLocation(),
135
+            'language' => (string)$this->getLanguage(),
136 136
         ];
137 137
     }
138 138
 }
Please login to merge, or discard this patch.
src/Organizer/Events/WebsiteUpdated.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     public function serialize()
39 39
     {
40 40
         return parent::serialize() + [
41
-                'website' => (string) $this->getWebsite(),
41
+                'website' => (string)$this->getWebsite(),
42 42
             ];
43 43
     }
44 44
 
Please login to merge, or discard this patch.
src/Organizer/OrganizerLDProjector.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
 
213 213
         $this->setMainLanguage($jsonLD, new Language('nl'));
214 214
 
215
-        $jsonLD->url = (string) $organizerCreated->getWebsite();
215
+        $jsonLD->url = (string)$organizerCreated->getWebsite();
216 216
 
217 217
         $jsonLD->name = [
218 218
             $this->getMainLanguage($jsonLD)->getCode() => $organizerCreated->getTitle(),
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
         $document = $this->repository->get($organizerId);
244 244
 
245 245
         $jsonLD = $document->getBody();
246
-        $jsonLD->url = (string) $websiteUpdated->getWebsite();
246
+        $jsonLD->url = (string)$websiteUpdated->getWebsite();
247 247
 
248 248
         return $document->withBody($jsonLD);
249 249
     }
@@ -351,7 +351,7 @@  discard block
 block discarded – undo
351 351
         $labelsProperty = $labelAdded->getLabel()->isVisible() ? 'labels' : 'hiddenLabels';
352 352
 
353 353
         $labels = isset($jsonLD->{$labelsProperty}) ? $jsonLD->{$labelsProperty} : [];
354
-        $label = (string) $labelAdded->getLabel();
354
+        $label = (string)$labelAdded->getLabel();
355 355
 
356 356
         $labels[] = $label;
357 357
         $jsonLD->{$labelsProperty} = array_unique($labels);
@@ -375,7 +375,7 @@  discard block
 block discarded – undo
375 375
             if (isset($jsonLD->{$labelsProperty}) && is_array($jsonLD->{$labelsProperty})) {
376 376
                 $jsonLD->{$labelsProperty} = array_filter(
377 377
                     $jsonLD->{$labelsProperty},
378
-                    function ($label) use ($labelRemoved) {
378
+                    function($label) use ($labelRemoved) {
379 379
                         return !$labelRemoved->getLabel()->equals(
380 380
                             new Label($label)
381 381
                         );
Please login to merge, or discard this patch.
src/Role/ReadModel/Permissions/Doctrine/UserPermissionsWriteRepository.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -76,8 +76,8 @@  discard block
 block discarded – undo
76 76
         $this->connection->insert(
77 77
             $this->rolePermissionTableName,
78 78
             array(
79
-                SchemaConfigurator::ROLE_ID_COLUMN => (string) $roleId,
80
-                SchemaConfigurator::PERMISSION_COLUMN => (string) $permission,
79
+                SchemaConfigurator::ROLE_ID_COLUMN => (string)$roleId,
80
+                SchemaConfigurator::PERMISSION_COLUMN => (string)$permission,
81 81
             )
82 82
         );
83 83
     }
@@ -90,8 +90,8 @@  discard block
 block discarded – undo
90 90
         $this->connection->delete(
91 91
             $this->rolePermissionTableName,
92 92
             array(
93
-                SchemaConfigurator::ROLE_ID_COLUMN => (string) $roleId,
94
-                SchemaConfigurator::PERMISSION_COLUMN => (string) $permission,
93
+                SchemaConfigurator::ROLE_ID_COLUMN => (string)$roleId,
94
+                SchemaConfigurator::PERMISSION_COLUMN => (string)$permission,
95 95
             )
96 96
         );
97 97
     }
@@ -104,8 +104,8 @@  discard block
 block discarded – undo
104 104
         $this->connection->insert(
105 105
             $this->userRoleTableName,
106 106
             array(
107
-                SchemaConfigurator::ROLE_ID_COLUMN => (string) $roleId,
108
-                SchemaConfigurator::USER_ID_COLUMN => (string) $userId,
107
+                SchemaConfigurator::ROLE_ID_COLUMN => (string)$roleId,
108
+                SchemaConfigurator::USER_ID_COLUMN => (string)$userId,
109 109
             )
110 110
         );
111 111
     }
@@ -118,8 +118,8 @@  discard block
 block discarded – undo
118 118
         $this->connection->delete(
119 119
             $this->userRoleTableName,
120 120
             array(
121
-                SchemaConfigurator::USER_ID_COLUMN => (string) $userId,
122
-                SchemaConfigurator::ROLE_ID_COLUMN => (string) $roleId,
121
+                SchemaConfigurator::USER_ID_COLUMN => (string)$userId,
122
+                SchemaConfigurator::ROLE_ID_COLUMN => (string)$roleId,
123 123
             )
124 124
         );
125 125
     }
Please login to merge, or discard this patch.