1--TEST--
2Bug #55719 (Argument restriction should come with a more specific error message)
3--FILE--
4<?php
5class Sub implements ArrayAccess {
6    public function offsetSet(): void {
7    }
8}
9?>
10--EXPECTF--
11Fatal error: Declaration of Sub::offsetSet(): void must be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void in %sargument_restriction_005.php on line %d
12