Skip to content
Permalink
Branch: master
Commits on Mar 23, 2020
Commits on Mar 20, 2020
Commits on Mar 15, 2020
Commits on Mar 14, 2020
Commits on Mar 13, 2020
  1. minor #36058 [Uid] make `Uuid::equals` method accept any types of arg…

    nicolas-grekas committed Mar 13, 2020
    …ument for more flexibility (hhamon)
    
    This PR was merged into the 5.1-dev branch.
    
    Discussion
    ----------
    
    [Uid] make `Uuid::equals` method accept any types of argument for more flexibility
    
    | Q             | A
    | ------------- | ---
    | Branch?       | master
    | Bug fix?      | no
    | New feature?  | no
    | Deprecations? | no
    | Tickets       | ~
    | License       | MIT
    | Doc PR        | ~
    
    I suggest to weaken the `Uuid:equals` method argument type to accept any types of value to compare against. This makes one able to compare the `Uuid` instance with any values.
    
    Commits
    -------
    
    46721c19f9 [Uid] make `Uuid::equals()` accept any types of argument for more flexibility
You can’t perform that action at this time.