(Oops, I forgot to inherit the interface:

     interface Factory {
         function make(...$args): object;
     }

     class FooFactory implements Factory {
         function make(...$args): Foo;
     }

sorry for the noise)

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to