This is an error 404
There are `0` results
preferences:
164.34 ms | 1399 KiB | 7 Q<?php
class Foo {}
class Goo extends Foo {}
class FooFactory {
static function create(Foo $foo) { return $foo; }
}
class GooFactory extends FooFactory {
static function create(Goo $goo) { return $goo; }
}
var_dump(FooFactory::create(new Foo()));
var_dump(GooFactory::create(new Goo()));