Completed
Pull Request — master (#326)
by Luc
04:24
created
src/Offer/Events/AbstractTitleUpdated.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     public function serialize()
37 37
     {
38 38
         return parent::serialize() + array(
39
-            'title' => (string) $this->title,
39
+            'title' => (string)$this->title,
40 40
         );
41 41
     }
42 42
 
Please login to merge, or discard this patch.
src/Search/Sapi3SearchService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,13 +43,13 @@  discard block
 block discarded – undo
43 43
 
44 44
     public function search($query, $limit = 30, $start = 0, $sort = null)
45 45
     {
46
-        $queryParameters = 'q=' . urlencode($query) . '&start=' . $start . '&limit=' . $limit;
46
+        $queryParameters = 'q='.urlencode($query).'&start='.$start.'&limit='.$limit;
47 47
 
48 48
         $offerQuery = $this->searchLocation->withQuery($queryParameters);
49 49
 
50 50
         $offerRequest = new Request(
51 51
             'GET',
52
-            (string) $offerQuery
52
+            (string)$offerQuery
53 53
         );
54 54
 
55 55
         $searchResponseData = json_decode($this->httpClient
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 
60 60
         $offerIds = array_reduce(
61 61
             $searchResponseData->{'member'},
62
-            function (OfferIdentifierCollection $offerIds, $item) {
62
+            function(OfferIdentifierCollection $offerIds, $item) {
63 63
                 return $offerIds->with(
64 64
                     $this->offerIdentifier->fromIri(Url::fromNative($item->{'@id'}))
65 65
                 );
Please login to merge, or discard this patch.
src/CommandHandling/UnauthorizableCommandException.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
22 22
      */
23 23
     public function __construct(StringLiteral $userId, $command)
24 24
     {
25
-        parent::__construct('User with id: ' . $userId->toNative() .
26
-            ' failed to execute command: ' . get_class($command) .
25
+        parent::__construct('User with id: '.$userId->toNative().
26
+            ' failed to execute command: '.get_class($command).
27 27
             ' because it is not authorizable.');
28 28
 
29 29
         $this->userId = $userId;
Please login to merge, or discard this patch.
src/Organizer/Commands/AbstractLabelCommand.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
     public function getName()
50 50
     {
51
-        return new StringLiteral((string) $this->label);
51
+        return new StringLiteral((string)$this->label);
52 52
     }
53 53
 
54 54
     public function getPermission()
Please login to merge, or discard this patch.