Skip to content

Commit e083e68

Browse files
committed
Fixed wrong docblocks and missing return type.
1 parent 16f3ee8 commit e083e68

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Response/Generic/GenericDetailsResponse.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ class GenericDetailsResponse extends AbstractResponse
1919
{
2020
/**
2121
* The entity details.
22-
* @var array|GenericEntity
22+
* @var array|GenericEntity[]
2323
*/
2424
protected $entities;
2525

2626
/**
2727
* Returns the entity details.
28-
* @return array|GenericEntity
28+
* @return array|GenericEntity[]
2929
* @throws ApiClientException
3030
*/
3131
public function getEntities(): array

src/Response/Generic/GenericIconResponse.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ class GenericIconResponse extends AbstractResponse
1919
{
2020
/**
2121
* The icons of the entities.
22-
* @var array|Icon
22+
* @var array|Icon[]
2323
*/
2424
protected $icons;
2525

2626
/**
2727
* Returns the icons of the entities.
28-
* @return array|Icon
28+
* @return array|Icon[]
2929
* @throws ApiClientException
3030
*/
31-
public function getIcons()
31+
public function getIcons(): array
3232
{
3333
$this->checkPendingResponse();
3434
return $this->icons;

0 commit comments

Comments
 (0)