Skip to content

Commit 2bbd02a

Browse files
committed
Fix package divided problems
1 parent 506b10a commit 2bbd02a

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/Imitation/PHPJava/Extended/_Object.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function clone(): _Object
2727
return clone $this;
2828
}
2929

30-
public function equals($a = null): bool
30+
public function equals($a = null)
3131
{
3232
return $this === $a;
3333
}

src/Kernel/Mnemonics/_invokestatic.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ public function execute(): void
2828
krsort($arguments);
2929
$return = null;
3030

31-
$methodName = "static_{$methodName}";
32-
3331
switch ($resourceType) {
3432
case ClassResolver::RESOLVED_TYPE_CLASS:
3533
/**
@@ -48,7 +46,7 @@ public function execute(): void
4846
$return = forward_static_call_array(
4947
[
5048
$classObject,
51-
$methodName
49+
"static_{$methodName}"
5250
],
5351
$arguments
5452
);

0 commit comments

Comments
 (0)