Commit f9cfda8
fix: __serialize() returns proper key-value pairs for session serialization
- __serialize() now returns associative array instead of flat property name list
- __unserialize() assigns values directly with is_string guard
- __sleep() now returns property names from __serialize()
- Removed non-existent 'init' property from serialization list
Fixes TypeError: Ease\Molecule::setupProperty() Argument #2 must be string, int given
Co-Authored-By: Oz <oz-agent@warp.dev>1 parent a8c3ca4 commit f9cfda8
1 file changed
Lines changed: 16 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
399 | | - | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
400 | 402 | | |
401 | 403 | | |
402 | 404 | | |
| |||
419 | 421 | | |
420 | 422 | | |
421 | 423 | | |
422 | | - | |
| 424 | + | |
423 | 425 | | |
424 | 426 | | |
425 | 427 | | |
| |||
436 | 438 | | |
437 | 439 | | |
438 | 440 | | |
439 | | - | |
440 | 441 | | |
441 | 442 | | |
442 | 443 | | |
| |||
454 | 455 | | |
455 | 456 | | |
456 | 457 | | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
457 | 468 | | |
458 | 469 | | |
459 | 470 | | |
460 | 471 | | |
461 | 472 | | |
462 | 473 | | |
463 | 474 | | |
464 | | - | |
| 475 | + | |
465 | 476 | | |
466 | 477 | | |
467 | 478 | | |
468 | | - | |
| 479 | + | |
469 | 480 | | |
470 | 481 | | |
471 | 482 | | |
| |||
0 commit comments