We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 506b10a commit 2bbd02aCopy full SHA for 2bbd02a
2 files changed
src/Imitation/PHPJava/Extended/_Object.php
@@ -27,7 +27,7 @@ public function clone(): _Object
27
return clone $this;
28
}
29
30
- public function equals($a = null): bool
+ public function equals($a = null)
31
{
32
return $this === $a;
33
src/Kernel/Mnemonics/_invokestatic.php
@@ -28,8 +28,6 @@ public function execute(): void
krsort($arguments);
$return = null;
- $methodName = "static_{$methodName}";
-
switch ($resourceType) {
34
case ClassResolver::RESOLVED_TYPE_CLASS:
35
/**
@@ -48,7 +46,7 @@ public function execute(): void
48
46
$return = forward_static_call_array(
49
47
[
50
$classObject,
51
- $methodName
+ "static_{$methodName}"
52
],
53
$arguments
54
);
0 commit comments