Closed
Description
I bumped from 1.0.9 to 1.1.2 ;
I assume it's related to 56d7b27 @herndlm
class Foo
{
/** @var array<int, array{id: string, num_order: string}> */
protected array $orders = [];
public function setOrders(array $orders): self
{
Assert::allCount($orders, 2);
Assert::allKeyExists($orders, 'id');
Assert::allKeyExists($orders, 'num_order');
$this->orders = $orders;
return $this;
}
}
Metadata
Metadata
Assignees
Labels
No labels