685af88ccf
- non-repo mode: use fullName() instead of flawed logic in type constraint failures - repo mode: save the original filename when flattening traits
9 linhas
128 B
PHP
9 linhas
128 B
PHP
<?php
|
|
|
|
include 'debug_backtrace_trait_helper.inc';
|
|
class C extends P {
|
|
use T;
|
|
}
|
|
(new C)->bar(new stdClass);
|
|
(new C)->bar(12);
|