File tree Expand file tree Collapse file tree
Imitation/PHPJava/Extended Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,18 +27,17 @@ public function clone(): _Object
2727 return clone $ this ;
2828 }
2929
30-
31- public function equals ($ object ): bool
30+ public function equals ($ a = null ): bool
3231 {
33- return $ this === $ object ;
32+ return $ this === $ a ;
3433 }
3534
3635 public function getClass (): self
3736 {
3837 return $ this ;
3938 }
4039
41- public function hashCode (): int
40+ public function hashCode ()
4241 {
4342 if (version_compare (PHP_VERSION , '7.2 ' , '< ' )) {
4443 return crc32 (spl_object_hash ($ this ));
Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ public function execute(): void
2727 }
2828 krsort ($ arguments );
2929 $ return = null ;
30+
31+ $ methodName = "static_ {$ methodName }" ;
32+
3033 switch ($ resourceType ) {
3134 case ClassResolver::RESOLVED_TYPE_CLASS :
3235 /**
You can’t perform that action at this time.
0 commit comments