diff --git a/README.md b/README.md index 651b39a..e30f99e 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ Prior to installing `php-orm-database` get the [Composer](https://getcomposer.or **Step 1** — update your `composer.json`: ```composer.json "require": { - "peterson/php-orm-database": "^3.1.8" + "peterson/php-orm-database": "^3.1.7" } ``` diff --git a/composer.json b/composer.json index 35765cb..ff58011 100644 --- a/composer.json +++ b/composer.json @@ -38,7 +38,7 @@ }, "extra": { "branch-alias": { - "dev-main": "3.1.8-dev" + "dev-main": "3.1.7-dev" } }, "minimum-stability": "stable", diff --git a/src/Collections/Traits/CollectionTrait.php b/src/Collections/Traits/CollectionTrait.php index 55cbaf4..961baeb 100644 --- a/src/Collections/Traits/CollectionTrait.php +++ b/src/Collections/Traits/CollectionTrait.php @@ -135,13 +135,6 @@ protected function wrapArrayIntoCollectionMappers(mixed $items) if (is_array($items) && count($items) > 0) { return array_map(function ($item, $key){ - - // dd( - // self::$pagination_data, - // $this->items, - // self::$pagination - // ); - return new CollectionMapper($item, $key, self::$check_paginate, self::$pagination); }, $items, array_keys($items)); }