<?php
use App\Models\Bar1;
use App\Models\Bar2;
use App\Models\Bar3;
class Foo
{
public function __construct(array|Bar1 $bar = null)
{
}
}
"Using type hints of "Union Types" or "Intersection Types" such as array|Bar1 or Bar1&Bar2 can cause the highlighting of the entire PHP file to malfunction."


