Completed
Branch master (436138)
by Raymond
03:46
created
src/Util/InternalIteratorTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     /**
21 21
      * Return the current element
22 22
      * @link  http://php.net/manual/en/iterator.current.php
23
-     * @return mixed Can return any type.
23
+     * @return \RayRutjes\GetEventStore\EventData Can return any type.
24 24
      * @since 5.0.0
25 25
      */
26 26
     public function current()
Please login to merge, or discard this patch.
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.