Skip to content

Commit 88596b6

Browse files
committed
[FIX] Deprecated warnings #23
1 parent 003e69a commit 88596b6

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Aliases.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function offsetExists($offset): bool
9797
/**
9898
* @inheritDoc
9999
*/
100-
public function offsetGet($offset)
100+
public function offsetGet($offset): Alias
101101
{
102102
if (!isset($this->aliases[$offset])) {
103103
$this->aliases[$offset] = new Alias($offset, $this->apiCall);

src/Overrides.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public function offsetExists($overrideId): bool
9292
/**
9393
* @inheritDoc
9494
*/
95-
public function offsetGet($overrideId)
95+
public function offsetGet($overrideId): Override
9696
{
9797
if (!isset($this->overrides[$overrideId])) {
9898
$this->overrides[$overrideId] = new Override($this->collectionName, $overrideId, $this->apiCall);

src/Synonyms.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function offsetExists($synonymId): bool
9090
/**
9191
* @inheritDoc
9292
*/
93-
public function offsetGet($synonymId)
93+
public function offsetGet($synonymId): Synonym
9494
{
9595
if (!isset($this->synonyms[$synonymId])) {
9696
$this->synonyms[$synonymId] = new Synonym($this->collectionName, $synonymId, $this->apiCall);

0 commit comments

Comments
 (0)