Supported Versions: PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8
Removes duplicate values from an array
<?php array_unique(array $array, int $flags = SORT_STRING): array
<?php                             }



                            if ($variables) {

                                $assertion .= ' use (' . implode(', ', array_unique($variables)) . ')';

                            }



                            $assertion .= ' {' . PHP_EOL;
<?php                             }



                            if ($variables) {

                                $assertion .= ' use (' . implode(', ', array_unique($variables)) . ')';

                            }



                            $assertion .= ' {' . PHP_EOL;
<?php                         }



                        if ($variables) {

                            $assertion .= ' use (' . implode(', ', array_unique($variables)) . ')';

                        }



                        $assertion .= ' {' . PHP_EOL;
<?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();

    }