Completed
Pull Request — master (#281)
by Kristof
04:25
created
src/Label.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,8 @@
 block discarded – undo
33 33
     public function equals(Label $label)
34 34
     {
35 35
         return strcmp(
36
-            mb_strtolower((string) $this, 'UTF-8'),
37
-            mb_strtolower((string) $label, 'UTF-8')
36
+            mb_strtolower((string)$this, 'UTF-8'),
37
+            mb_strtolower((string)$label, 'UTF-8')
38 38
         ) == 0;
39 39
     }
40 40
 }
Please login to merge, or discard this patch.
src/Organizer/Events/OrganizerCreated.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
         }
89 89
 
90 90
         return parent::serialize() + array(
91
-          'title' => (string) $this->getTitle(),
91
+          'title' => (string)$this->getTitle(),
92 92
           'addresses' => $addresses,
93 93
           'phones' => $this->getPhones(),
94 94
           'emails' => $this->getEmails(),
Please login to merge, or discard this patch.
src/Place/Events/PlaceCreated.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
             $theme = $this->getTheme()->serialize();
114 114
         }
115 115
         return parent::serialize() + array(
116
-            'title' => (string) $this->getTitle(),
116
+            'title' => (string)$this->getTitle(),
117 117
             'event_type' => $this->getEventType()->serialize(),
118 118
             'theme' => $theme,
119 119
             'address' => $this->getAddress()->serialize(),
Please login to merge, or discard this patch.
src/SavedSearches/ReadModel/SavedSearch.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
         ];
49 49
 
50 50
         if ($this->id) {
51
-            $serializedSavedSearch['id'] = (string) $this->id;
51
+            $serializedSavedSearch['id'] = (string)$this->id;
52 52
         }
53 53
 
54 54
         return $serializedSavedSearch;
Please login to merge, or discard this patch.
src/Variations/Command/EditDescriptionJSONDeserializer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
     private function getErrorMessages($validationErrors)
97 97
     {
98 98
         $errorMessages = array_map(
99
-            function ($error) {
99
+            function($error) {
100 100
                 return $error['message'];
101 101
             },
102 102
             $validationErrors
Please login to merge, or discard this patch.
src/Variations/Model/Events/DescriptionEdited.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     public function serialize()
40 40
     {
41 41
         return parent::serialize() + array(
42
-            'description' => (string) $this->description,
42
+            'description' => (string)$this->description,
43 43
         );
44 44
     }
45 45
 
Please login to merge, or discard this patch.
src/SearchAPI2/Filters/DoesNotHaveKeyword.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 
14 14
     public function __construct($keyword)
15 15
     {
16
-        $keyword = (string) $keyword;
16
+        $keyword = (string)$keyword;
17 17
 
18 18
         $this->filterQuery = new FilterQuery(
19 19
             sprintf(
Please login to merge, or discard this patch.
src/Media/Image.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -109,11 +109,11 @@
 block discarded – undo
109 109
     public function serialize()
110 110
     {
111 111
         return [
112
-            'media_object_id' => (string) $this->getMediaObjectId(),
113
-            'mime_type' => (string) $this->getMimeType(),
114
-            'description' => (string) $this->getDescription(),
115
-            'copyright_holder' => (string) $this->getCopyrightHolder(),
116
-            'source_location' => (string) $this->getSourceLocation()
112
+            'media_object_id' => (string)$this->getMediaObjectId(),
113
+            'mime_type' => (string)$this->getMimeType(),
114
+            'description' => (string)$this->getDescription(),
115
+            'copyright_holder' => (string)$this->getCopyrightHolder(),
116
+            'source_location' => (string)$this->getSourceLocation()
117 117
         ];
118 118
     }
119 119
 }
Please login to merge, or discard this patch.
src/Media/Events/MediaObjectCreated.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
             'mime_type' => $this->getMimeType()->toNative(),
108 108
             'description' => $this->getDescription()->toNative(),
109 109
             'copyright_holder' => $this->getCopyrightHolder()->toNative(),
110
-            'source_location' => (string) $this->getSourceLocation()
110
+            'source_location' => (string)$this->getSourceLocation()
111 111
         );
112 112
     }
113 113
 
Please login to merge, or discard this patch.