Created
June 25, 2019 14:10
-
-
Save dstogov/9839a98949965e444bd11c7c70587f49 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class X { | |
} | |
abstract class A { | |
abstract function __construct(X $x); | |
} | |
class B extends A { | |
function __construct(object $x) {} | |
} | |
class C extends B { | |
function __construct(Y $x) {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment