File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -298,12 +298,12 @@ function ($item) {
298298 */
299299 $ executor = OperationCache::fetchOrPush (
300300 $ fullName ,
301- function () use ($ fullName , &$ currentConstantPool ) {
302- return (new $ fullName ())
303- ->setConstantPool ($ currentConstantPool );
301+ function () use ($ fullName ) {
302+ return new $ fullName ();
304303 }
305304 );
306305 $ returnValue = $ executor
306+ ->setConstantPool ($ currentConstantPool )
307307 ->setParameters (
308308 $ method ->getAttributes (),
309309 $ this ->javaClassInvoker ,
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public function setParameters(
3737 \PHPJava \Core \JVM \Stream \BinaryReader $ reader ,
3838 array &$ localStorage ,
3939 array &$ stacks ,
40- int & $ pointer
40+ int $ pointer
4141 ): self {
4242 $ this ->attributes = &$ attributes ;
4343 $ this ->javaClassInvoker = &$ javaClassInvoker ;
@@ -46,7 +46,7 @@ public function setParameters(
4646 $ this ->reader = &$ reader ;
4747 $ this ->localStorage = &$ localStorage ;
4848 $ this ->stacks = &$ stacks ;
49- $ this ->pointer = & $ pointer ;
49+ $ this ->pointer = $ pointer ;
5050 return $ this ;
5151 }
5252
You can’t perform that action at this time.
0 commit comments