Skip to content

Commit 9f492ea

Browse files
committed
rm
1 parent f76389c commit 9f492ea

File tree

3 files changed

+0
-34
lines changed

3 files changed

+0
-34
lines changed

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@
179179
- Chg #1106: Remove parameters from `PdoConnectionInterface::getActivePdo()` method (@vjik)
180180
- Bug #1109: Fix column definition parsing in cases with brackets and escaped quotes (@vjik)
181181
- New #1107: Add abstract enumeration column type (@vjik)
182-
- New #1113: Trim dot in `IntegerColumn::phpTypecast()` to prevent PHP 8.5+ warnings on large values (@vjik)
183182

184183
## 1.3.0 March 21, 2024
185184

src/Schema/Column/IntegerColumn.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
use Yiisoft\Db\Expression\ExpressionInterface;
1313

1414
use function gettype;
15-
use function is_string;
1615

1716
/**
1817
* Represents the schema for an integer column.
@@ -47,10 +46,6 @@ public function phpTypecast(mixed $value): ?int
4746
return null;
4847
}
4948

50-
if (is_string($value)) {
51-
$value = rtrim($value, '.');
52-
}
53-
5449
return (int) $value;
5550
}
5651
}

tests/Db/Schema/Column/IntegerColumnTest.php

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)