Skip to content

Commit 080836b

Browse files
Add comment
1 parent d9dc7b1 commit 080836b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Type/Accessory/AccessoryNonFalsyStringType.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ public function toAbsoluteNumber(): Type
184184

185185
public function toInteger(): Type
186186
{
187+
// Do not remove `0` since `(int) '00'` is still `0`.
187188
return new IntegerType();
188189
}
189190

0 commit comments

Comments
 (0)