# Bug Report | Subject | Details | | :------------- | :---------------------------------------------------------------| | Rector version | 0.14.8 | AddArrowFunctionReturnTypeRector rule adds return type ": void" to some arrow functions, but (at least in php 8.0) this is not valid. See https://getrector.org/demo/baa80f25-d170-4a67-a78d-54ff1f1c0e6f ## Expected Behaviour Ignore void, add only valid types.