Completed
Branch master (436138)
by Raymond
03:46
created
src/Client/Http/AbstractResponseInspector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace RayRutjes\GetEventStore\Client\Http;
4 4
 
5 5
 use Psr\Http\Message\ResponseInterface;
Please login to merge, or discard this patch.
src/Client/Http/AppendSingleToStreamRequestFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace RayRutjes\GetEventStore\Client\Http;
4 4
 
5 5
 use GuzzleHttp\Psr7\Request;
Please login to merge, or discard this patch.
src/Client/Http/AppendToStreamResponseInspector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace RayRutjes\GetEventStore\Client\Http;
4 4
 
5 5
 use Psr\Http\Message\ResponseInterface;
Please login to merge, or discard this patch.
src/Client/Http/ContentType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace RayRutjes\GetEventStore\Client\Http;
4 4
 
5 5
 class ContentType
Please login to merge, or discard this patch.
src/Client/Http/DeleteStreamResponseInspector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace RayRutjes\GetEventStore\Client\Http;
4 4
 
5 5
 use Psr\Http\Message\ResponseInterface;
Please login to merge, or discard this patch.
src/Client/Http/Feed/EventEntry.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace RayRutjes\GetEventStore\Client\Http\Feed;
4 4
 
5 5
 class EventEntry
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     public function __construct(array $links)
16 16
     {
17 17
         foreach ($links as $link) {
18
-            if(!$link instanceof EventEntryFeedLink) {
18
+            if (!$link instanceof EventEntryFeedLink) {
19 19
                 throw new \InvalidArgumentException('Invalid link type %s.', get_class($link));
20 20
             }
21 21
             if (isset($this->links[$link->getRelation()])) {
Please login to merge, or discard this patch.
src/Client/Http/Feed/EventFeed.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace RayRutjes\GetEventStore\Client\Http\Feed;
4 4
 
5 5
 use RayRutjes\GetEventStore\EventRecord;
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     {
33 33
         $this->event = $eventRecord;
34 34
         foreach ($links as $link) {
35
-            if(!$link instanceof EventFeedLink) {
35
+            if (!$link instanceof EventFeedLink) {
36 36
                 throw new \InvalidArgumentException('Invalid link type %s.', get_class($link));
37 37
             }
38 38
             if (isset($this->links[$link->getRelation()])) {
Please login to merge, or discard this patch.
src/Client/Http/Feed/EventFeedLink.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace RayRutjes\GetEventStore\Client\Http\Feed;
4 4
 
5 5
 class EventFeedLink
Please login to merge, or discard this patch.
src/Client/Http/Feed/EventStreamFeedIterator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 namespace RayRutjes\GetEventStore\Client\Http\Feed;
4 4
 
5 5
 use RayRutjes\GetEventStore\Client\Http\HttpClient;
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
     public function current(): EventStreamFeed
85 85
     {
86 86
         if (null === $this->currentFeed) {
87
-            if(true === $this->initialized) {
87
+            if (true === $this->initialized) {
88 88
                 throw new \OutOfBoundsException('Stream overflow.');
89 89
             } else {
90 90
                 $this->rewind();
Please login to merge, or discard this patch.