I would use `return array_values($this->cookies)` instead of building a new array.