"Cannot write to 'readonly' property outside of declaration scope" false positive for sub-objects with ArrayAccess. — PhpStorm feature request — Has it shipped?