Skip to content

Commit 49dddc1

Browse files
committed
Fix
1 parent e3894bf commit 49dddc1

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Core/JVM/Invoker/Invokable.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,15 +326,15 @@ function () use ($fullName) {
326326
}
327327

328328
if ($returnValue !== null) {
329-
if ($isEnabledTrace === true) {
329+
if ($isEnabledTrace) {
330330
$this->javaClassInvoker->getJavaClass()->appendDebug($debugTraces);
331331
}
332332
$this->debugTool->getLogger()->info('Finish operations: ' . $methodBeautified);
333333
return $returnValue;
334334
}
335335
}
336336

337-
if ($isEnabledTrace === true) {
337+
if ($isEnabledTrace) {
338338
$this->javaClassInvoker->getJavaClass()->appendDebug($debugTraces);
339339
}
340340
$this->debugTool->getLogger()->info('Finish operations: ' . $methodBeautified);

src/Kernel/Core/Accumulator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ public function setParameters(
3939
array &$stacks,
4040
int $pointer
4141
): self {
42-
$this->attributes = &$attributes;
43-
$this->javaClassInvoker = &$javaClassInvoker;
42+
$this->attributes = $attributes;
43+
$this->javaClassInvoker = $javaClassInvoker;
4444
$this->javaClass = $javaClassInvoker->getJavaClass();
4545
$this->options = $this->javaClass->getOptions();
4646
$this->reader = $reader;

0 commit comments

Comments
 (0)