for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Sunrise\Hydrator\Tests\Fixtures;
use ArrayAccess;
use OverflowException;
use ReturnTypeWillChange;
final class OverflowedCollection implements ArrayAccess
{
public function offsetExists($offset): bool
return false;
}
#[ReturnTypeWillChange]
public function offsetGet($offset)
return null;
public function offsetSet($offset, $value): void
throw new OverflowException();
public function offsetUnset($offset): void