We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebb4029 commit 4823a0dCopy full SHA for 4823a0d
1 file changed
src/Protocol/Collection.php
@@ -12,11 +12,6 @@ class Collection extends Message
12
13
public function __construct(Response $response, array $entryEvents, Event $completeEvent)
14
{
15
-// if ($response->getPart('EventItems') !== count($events)) {
16
-// var_dump($response, $events);
17
-// throw new UnexpectedValueException('Expected ' . $response->getPart('EventItems') . ' entries, but collected ' . count($events));
18
-// }
19
-
20
$this->parts = $response->getParts();
21
$this->response = $response;
22
$this->entryEvents = $entryEvents;
0 commit comments