We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7022e70 commit 8fd121eCopy full SHA for 8fd121e
test/unit/Mutex/BasicPDOStatementStub.php
@@ -40,18 +40,6 @@ public function __construct(array $result) { $this->result = $result; }
40
41
public function fetchAll(?int $fetch_style = NULL, mixed ...$fetch_argument): array
42
{
43
- if (PHP_VERSION_ID < 80100) {
44
- // Before 8.1, ints and floats were returned as strings
45
- // https://www.php.net/manual/en/migration81.incompatible.php#migration81.incompatible.pdo.mysql
46
- $this->result = array_map(
47
- fn($row) => array_map(
48
- fn($column) => (is_int($column) || \is_float($column)) ? (string) $column : $column,
49
- $row
50
- ),
51
- $this->result
52
- );
53
- }
54
-
55
if ($fetch_style === NULL) {
56
return $this->result;
57
} elseif ($fetch_style === PDO::FETCH_COLUMN) {
0 commit comments