Skip to content

Commit

Permalink
v5.4.3 (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
robinsonjohn authored Dec 23, 2024
1 parent afb2fe5 commit 285bd16
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `Fixed` for any bug fixes.
- `Security` in case of vulnerabilities

## [5.4.3] - 2024.12.23

### Added

- Tested up to PHP v8.4.

## [5.4.2] - 2024.11.28

### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This project is open source and available under the [MIT License](LICENSE).

## Requirements

* PHP `^8.0`
* PHP `^8.0` (Tested up to `8.4`)
* PDO PHP extension

## Installation
Expand Down
8 changes: 2 additions & 6 deletions src/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -883,12 +883,8 @@ public function get(): array

$result = $stmt->fetchAll(PDO::FETCH_ASSOC);

if (is_array($result)) {

foreach ($result as $k => $v) {
$result[$k] = $this->formatResult($v);
}

foreach ($result as $k => $v) {
$result[$k] = $this->formatResult($v);
}

return $result;
Expand Down

0 comments on commit 285bd16

Please sign in to comment.