Update assets method signature
Update assets method signature on CustomBlock class for greater flexibility and backward compatibility.
The Why?
When creating blocks through the cli before, by default it would create them with this method signature on assets.
public function assets(array $block): voidThis would break if you tried to switch it to use CustomBlock unless you simplified it down to
public function assets($block)Now both are valid formats, but do please prefer to upgrade any blocks you work in up to the new standard:
public function assets(array $block): void