Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a false flag issue with InvalidConstantAssignmentValue being thro…
…wn for constants over a certain length. Usually happens with arrays. Check if this type was defined via a dockblock or type hint otherwise the inferred type should always match the assigned type, and we don't even need to do additional checks There is an issue with constants over a certain length where additional values are added to fallback_params in the assigned_type but not in const_storage_type which causes a false flag for this error to appear. Usually happens with arrays
- Loading branch information