•  
      request #37547 Make Fault, Ok, Err and Option readonly classes
    Infos
    #37547
    Joris MASSON (jmasson)
    2024-03-30 10:57
    2024-03-28 17:04
    39158
    Details
    Make Fault, Ok, Err and Option readonly classes

    Since the support of PHP 8.2, we can mark classes readonly, enforcing that we can never mutate their properties. We should mark Fault, Ok, Err and Option classes readonly. They are not meant to be mutable.

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

    Follow-ups