<?php declare(strict_types=1); class A { public function stuff(mixed $value): string { return __CLASS__; } } class B extends A { public function stuff($value): string { return __CLASS__; } } $b = new B(); echo $b->stuff('whatever');
You have javascript disabled. You will not be able to edit any code.