Hi @JakubMisek
I just found this issue:
<?php
declare(strict_types=1);
namespace Devsense\Builtin\PropertyHooks;
use stdClass;
final class Test4
{
public stdClass $store {
set(array|stdClass $a) {
if(is_array($a)) {
$a = (object) $a;
}
$this->store = $a;
}
}
}
$test = new Test4();
$test->store = [ 1, 2, 3 ];

Thank you for the fix.