1--TEST--
2#[\Override]: On used trait with interface method.
3--FILE--
4<?php
5
6trait T {
7 #[\Override]
8 public function i(): void {}
9}
10
11interface I {
12 public function i(): void;
13}
14
15class Foo implements I {
16 use T;
17}
18
19echo "Done";
20
21?>
22--EXPECT--
23Done
24