Skip to content

Commit 546ff44

Browse files
committed
Removed return type for two methods in AbstractResource
1 parent c747738 commit 546ff44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Common/Resource/AbstractResource.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ abstract class AbstractResource implements ResourceInterface, Serializable
4242
*
4343
* @return AbstractResource
4444
*/
45-
public function populateFromResponse(ResponseInterface $response): self
45+
public function populateFromResponse(ResponseInterface $response)
4646
{
4747
if (strpos($response->getHeaderLine('Content-Type'), 'application/json') === 0) {
4848
$json = Utils::jsonDecode($response);
@@ -61,7 +61,7 @@ public function populateFromResponse(ResponseInterface $response): self
6161
*
6262
* @return mixed|void
6363
*/
64-
public function populateFromArray(array $array): self
64+
public function populateFromArray(array $array)
6565
{
6666
$aliases = $this->getAliases();
6767

0 commit comments

Comments
 (0)