<?php array_unique(array $array, int $flags = SORT_STRING): array
<?php } if ($variables) { $assertion .= ' use (' . implode(', ', array_unique($variables)) . ')'; } $assertion .= ' {' . PHP_EOL;
<?php private function uniqueSetupLines(array $setup) { return collect($setup)->filter() ->map(fn ($lines) => array_unique($lines)) ->toArray(); }