# Bug Report <!-- First, thank you for reporting a bug. That takes time and we appreciate that! --> | Subject | Details | | :------------- | :--------------------| | Rector version | last dev-main | | Installed as | composer dependency | ## Minimal PHP Code Causing Issue See https://getrector.com/demo/c96ef6c0-7fad-444f-9fb8-5941280101fd ```php <?php explode(',', (string) $getInstance->get() ? $_SERVER['REMOTE_ADDR'] : $_SERVER['HTTP_X_FORWARDED_FOR'] ?? '', ); ``` ### Responsible rules * `NullToStrictStringFuncCallArgRector` ## Expected Behavior No change. Double cast shouldn't be added.