Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Return all the values of an array
<?php array_values(array $array): array
<?php             $row->setLineNumber($lineNumber++);

        }



        return array_merge(array_values($this->squashedRows), $this->rowsWithRecType);

    }
<?php             return array_map(function ($cls) use (&$lineNumber) {

                $cls->setId($lineNumber++);

                return $cls;

            }, array_values($classifications));

        }



        return array_values($classifications);
<?php             }, array_values($classifications));

        }



        return array_values($classifications);

    }
<?php     public function uniqueTypes(): TypeClassificationCollection

    {

        return new TypeClassificationCollection(

            array_unique(array_merge(...array_values($this->classifications))),

            $this->isIncome

        );

    }