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 e330e8f commit 783c623Copy full SHA for 783c623
1 file changed
lib/Tmdb/Model/Common/GenericCollection.php
@@ -288,22 +288,22 @@ public function sort(Closure $closure)
288
return $this;
289
}
290
291
- public function offsetExists($offset)
+ public function offsetExists(mixed $offset): bool
292
{
293
return isset($this->data[$offset]);
294
295
296
- public function offsetGet($offset)
+ public function offsetGet(mixed $offset): mixed
297
298
return isset($this->data[$offset]) ? $this->data[$offset] : null;
299
300
301
- public function offsetSet($offset, $value)
+ public function offsetSet(mixed $offset, mixed $value): void
302
303
$this->data[$offset] = $value;
304
305
306
- public function offsetUnset($offset)
+ public function offsetUnset(mixed $offset): void
307
308
unset($this->data[$offset]);
309
0 commit comments