-
-
Notifications
You must be signed in to change notification settings - Fork 743
Closed
rectorphp/rector-src
#7677Labels
Description
Bug Report
Rector version: Rector 2.2.7
Numeric strings gets converted to integers
Minimal PHP Code Causing Issue
https://getrector.com/demo/fbbafe10-f1d1-4353-b03f-4ce5583cd4fc
- /**
- * @OA\Property(
- * example="01112"
- * )
- */
+ #[OA\Property(example: 1112)]
Expected Behaviour
It should remain as a string
Reactions are currently unavailable