Skip to content

Commit d55eab9

Browse files
author
Fredrick Peter
committed
Paginaiton Update - Critical
1 parent b4fe1b5 commit d55eab9

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Prior to installing `php-orm-database` get the [Composer](https://getcomposer.or
108108
**Step 1** — update your `composer.json`:
109109
```composer.json
110110
"require": {
111-
"peterson/php-orm-database": "^3.1.8"
111+
"peterson/php-orm-database": "^3.1.7"
112112
}
113113
```
114114

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
},
3939
"extra": {
4040
"branch-alias": {
41-
"dev-main": "3.1.8-dev"
41+
"dev-main": "3.1.7-dev"
4242
}
4343
},
4444
"minimum-stability": "stable",

src/Collections/Traits/CollectionTrait.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,6 @@ protected function wrapArrayIntoCollectionMappers(mixed $items)
135135

136136
if (is_array($items) && count($items) > 0) {
137137
return array_map(function ($item, $key){
138-
139-
// dd(
140-
// self::$pagination_data,
141-
// $this->items,
142-
// self::$pagination
143-
// );
144-
145138
return new CollectionMapper($item, $key, self::$check_paginate, self::$pagination);
146139
}, $items, array_keys($items));
147140
}

0 commit comments

Comments
 (0)