•  
      request #37226 Forbid spaces around union type hints
    Infos
    #37226
    Joris MASSON (jmasson)
    2024-03-18 09:52
    2024-03-15 16:04
    38837
    Details
    Forbid spaces around union type hints
    # Forbidden
    Ok | Err
    # Allowed
    Ok|Err
    
    # Forbidden
    TypeName|null
    # Allowed
    ?TypeName
    # Allowed
    TypeName|OtherType|null
    

    The variant without spaces seems more used throughout the codebase.

    Other
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Closed
    2024-03-18
    Attachments
    Empty
    References

    Follow-ups

    User avatar
    Joris MASSON (jmasson)2024-03-15 16:12

    • Original Submission
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    • Status changed from Under implementation to Under review