Completed
Pull Request — master (#325)
by
unknown
22:33
created
src/Offer/Commands/AbstractUpdateTitle.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     }
25 25
 
26 26
     /**
27
-     * @return StringLiteral
27
+     * @return string
28 28
      */
29 29
     public function getTitle()
30 30
     {
Please login to merge, or discard this patch.
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 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -46,9 +46,9 @@
 block discarded – undo
46 46
     public function search($query, $limit = 30, $start = 0, $sort = null)
47 47
     {
48 48
         $queryParameters = Query::createFromPairs([
49
-           'q' => $query,
50
-           'start' => (string) $start,
51
-           'limit' => (string) $limit,
49
+            'q' => $query,
50
+            'start' => (string) $start,
51
+            'limit' => (string) $limit,
52 52
         ]);
53 53
         $queryString = str_replace('+', '%2B', (string) $queryParameters);
54 54
         $offerQueryUri = $this->searchLocation->withQuery($queryString);
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,10 +47,10 @@  discard block
 block discarded – undo
47 47
     {
48 48
         $queryParameters = Query::createFromPairs([
49 49
            'q' => $query,
50
-           'start' => (string) $start,
51
-           'limit' => (string) $limit,
50
+           'start' => (string)$start,
51
+           'limit' => (string)$limit,
52 52
         ]);
53
-        $queryString = str_replace('+', '%2B', (string) $queryParameters);
53
+        $queryString = str_replace('+', '%2B', (string)$queryParameters);
54 54
         $offerQueryUri = $this->searchLocation->withQuery($queryString);
55 55
 
56 56
         $offerRequest = new Request('GET', $offerQueryUri);
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 
63 63
         $offerIds = array_reduce(
64 64
             $searchResponseData->{'member'},
65
-            function (OfferIdentifierCollection $offerIds, $item) {
65
+            function(OfferIdentifierCollection $offerIds, $item) {
66 66
                 return $offerIds->with(
67 67
                     $this->offerIdentifier->fromIri(Url::fromNative($item->{'@id'}))
68 68
                 );
Please login to merge, or discard this patch.