11
11
import php .runtime .annotation .Reflection .Name ;
12
12
import php .runtime .annotation .Reflection .Signature ;
13
13
import php .runtime .common .Callback ;
14
+ import php .runtime .common .HintType ;
14
15
import php .runtime .common .Messages ;
15
16
import php .runtime .env .Environment ;
16
17
import php .runtime .env .TraceInfo ;
@@ -305,7 +306,12 @@ public int getCount() {
305
306
}
306
307
307
308
@ Override
308
- @ Signature
309
+ @ Signature (
310
+ value = {@ Reflection .Arg ("offset" )},
311
+ result = @ Reflection .Arg (
312
+ type = HintType .BOOLEAN
313
+ )
314
+ )
309
315
public Memory offsetExists (Environment environment , Memory ... memories ) {
310
316
ObservableList list = getWrappedObject ();
311
317
int index = memories [0 ].toInteger ();
@@ -314,7 +320,7 @@ public Memory offsetExists(Environment environment, Memory... memories) {
314
320
}
315
321
316
322
@ Override
317
- @ Signature
323
+ @ Signature ({ @ Reflection . Arg ( "offset" )})
318
324
public Memory offsetGet (Environment environment , Memory ... memories ) {
319
325
ObservableList list = getWrappedObject ();
320
326
int index = memories [0 ].toInteger ();
@@ -323,7 +329,7 @@ public Memory offsetGet(Environment environment, Memory... memories) {
323
329
}
324
330
325
331
@ Override
326
- @ Signature
332
+ @ Signature ({ @ Reflection . Arg ( "offset" ), @ Reflection . Arg ( "value" )})
327
333
public Memory offsetSet (Environment environment , Memory ... memories ) {
328
334
if (memories [0 ].isNull ()) {
329
335
getWrappedObject ().add (unwrap (environment , memories [1 ], "offsetSet" ));
@@ -336,7 +342,7 @@ public Memory offsetSet(Environment environment, Memory... memories) {
336
342
}
337
343
338
344
@ Override
339
- @ Signature
345
+ @ Signature ({ @ Reflection . Arg ( "offset" )})
340
346
public Memory offsetUnset (Environment environment , Memory ... memories ) {
341
347
ObservableList list = getWrappedObject ();
342
348
int index = memories [0 ].toInteger ();
0 commit comments