Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.8.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      Error:

      During inheritance return type should be compatible
      

      Affected Files:

      • /vendors/blesta/items/src/Collection/ItemCollection.php (Line 65)
      • /vendors/blesta/pricing/src/Collection/ItemPriceCollection.php (Line 298)

      Possible solution:
      Add the "#[\ReturnTypeWillChange]" attribute to all the methods of the affected classes.

        Activity

        abdy Abdy Franco created issue -
        abdy Abdy Franco made changes -
        Field Original Value New Value
        Fix Version/s 5.7.0-b1 [ 11737 ]
        abdy Abdy Franco made changes -
        Description *Error:*
        {noformat}
        During inheritance return type should be compatible
        {noformat}

        *Affected Files:*
         - /vendors/blesta/items/src/Collection/ItemCollection.php _(Line 65)_
         - /vendors/blesta/pricing/src/Collection/ItemPriceCollection.php _(Line 298)_
         - /vendors/blesta/h2o/h2o/nodes.php _(Line 55)_

        *Possible solution:*
        Add the "{{#[\ReturnTypeWillChange]}}" attribute to all the methods of the affected classes.
        *Error:*
        {noformat}
        During inheritance return type should be compatible
        {noformat}

        *Affected Files:*
         - /vendors/blesta/items/src/Collection/ItemCollection.php _(Line 65)_
         - /vendors/blesta/pricing/src/Collection/ItemPriceCollection.php _(Line 298)_
         - /vendors/blesta/h2o/h2o/nodes.php _(Line 55)_
         - /vendors/blesta/h2o/h2o/context.php _(Line 47)_

        *Possible solution:*
        Add the "{{#[\ReturnTypeWillChange]}}" attribute to all the methods of the affected classes.
        abdy Abdy Franco made changes -
        Description *Error:*
        {noformat}
        During inheritance return type should be compatible
        {noformat}

        *Affected Files:*
         - /vendors/blesta/items/src/Collection/ItemCollection.php _(Line 65)_
         - /vendors/blesta/pricing/src/Collection/ItemPriceCollection.php _(Line 298)_
         - /vendors/blesta/h2o/h2o/nodes.php _(Line 55)_
         - /vendors/blesta/h2o/h2o/context.php _(Line 47)_

        *Possible solution:*
        Add the "{{#[\ReturnTypeWillChange]}}" attribute to all the methods of the affected classes.
        *Error:*
        {noformat}
        During inheritance return type should be compatible
        {noformat}

        *Affected Files:*
         - /vendors/blesta/items/src/Collection/ItemCollection.php _(Line 65)_
         - /vendors/blesta/pricing/src/Collection/ItemPriceCollection.php _(Line 298)_
         - /vendors/blesta/h2o/h2o/nodes.php _(Line 55)_
         - /vendors/blesta/h2o/h2o/context.php _(Line 47)_
         - /plugins/phpids/lib/IDS/Report.php _(Line 214)_

        *Possible solution:*
        Add the "{{#[\ReturnTypeWillChange]}}" attribute to all the methods of the affected classes.
        abdy Abdy Franco made changes -
        Description *Error:*
        {noformat}
        During inheritance return type should be compatible
        {noformat}

        *Affected Files:*
         - /vendors/blesta/items/src/Collection/ItemCollection.php _(Line 65)_
         - /vendors/blesta/pricing/src/Collection/ItemPriceCollection.php _(Line 298)_
         - /vendors/blesta/h2o/h2o/nodes.php _(Line 55)_
         - /vendors/blesta/h2o/h2o/context.php _(Line 47)_
         - /plugins/phpids/lib/IDS/Report.php _(Line 214)_

        *Possible solution:*
        Add the "{{#[\ReturnTypeWillChange]}}" attribute to all the methods of the affected classes.
        *Error:*
        {noformat}
        During inheritance return type should be compatible
        {noformat}

        *Affected Files:*
         - /vendors/blesta/items/src/Collection/ItemCollection.php _(Line 65)_
         - /vendors/blesta/pricing/src/Collection/ItemPriceCollection.php _(Line 298)_
         - /vendors/blesta/h2o/h2o/nodes.php _(Line 55)_
         - /vendors/blesta/h2o/h2o/context.php _(Line 47)_
         - /plugins/phpids/lib/IDS/Report.php _(Line 214)_
         - /plugins/phpids/lib/IDS/Event.php _(Line 211)_

        *Possible solution:*
        Add the "{{#[\ReturnTypeWillChange]}}" attribute to all the methods of the affected classes.
        abdy Abdy Franco made changes -
        Description *Error:*
        {noformat}
        During inheritance return type should be compatible
        {noformat}

        *Affected Files:*
         - /vendors/blesta/items/src/Collection/ItemCollection.php _(Line 65)_
         - /vendors/blesta/pricing/src/Collection/ItemPriceCollection.php _(Line 298)_
         - /vendors/blesta/h2o/h2o/nodes.php _(Line 55)_
         - /vendors/blesta/h2o/h2o/context.php _(Line 47)_
         - /plugins/phpids/lib/IDS/Report.php _(Line 214)_
         - /plugins/phpids/lib/IDS/Event.php _(Line 211)_

        *Possible solution:*
        Add the "{{#[\ReturnTypeWillChange]}}" attribute to all the methods of the affected classes.
        *Error:*
        {noformat}
        During inheritance return type should be compatible
        {noformat}

        *Affected Files:*
         - /vendors/blesta/items/src/Collection/ItemCollection.php _(Line 65)_
         - /vendors/blesta/pricing/src/Collection/ItemPriceCollection.php _(Line 298)_
         - /vendors/blesta/h2o/h2o/nodes.php _(Line 55)_
         - /vendors/blesta/h2o/h2o/context.php _(Line 47)_

        *Possible solution:*
        Add the "{{#[\ReturnTypeWillChange]}}" attribute to all the methods of the affected classes.
        abdy Abdy Franco made changes -
        Description *Error:*
        {noformat}
        During inheritance return type should be compatible
        {noformat}

        *Affected Files:*
         - /vendors/blesta/items/src/Collection/ItemCollection.php _(Line 65)_
         - /vendors/blesta/pricing/src/Collection/ItemPriceCollection.php _(Line 298)_
         - /vendors/blesta/h2o/h2o/nodes.php _(Line 55)_
         - /vendors/blesta/h2o/h2o/context.php _(Line 47)_

        *Possible solution:*
        Add the "{{#[\ReturnTypeWillChange]}}" attribute to all the methods of the affected classes.
        *Error:*
        {noformat}
        During inheritance return type should be compatible
        {noformat}

        *Affected Files:*
         - /vendors/blesta/items/src/Collection/ItemCollection.php _(Line 65)_
         - /vendors/blesta/pricing/src/Collection/ItemPriceCollection.php _(Line 298)_

        *Possible solution:*
        Add the "{{#[\ReturnTypeWillChange]}}" attribute to all the methods of the affected classes.
        admin Paul Phillips made changes -
        Fix Version/s 5.7.0 [ 11800 ]
        Fix Version/s 5.7.0-b1 [ 11737 ]
        admin Paul Phillips made changes -
        Fix Version/s 5.8.0-b1 [ 11742 ]
        Fix Version/s 5.7.0 [ 11800 ]
        jonathan Jonathan Reissmueller made changes -
        Assignee Jonathan Reissmueller [ jonathan ]
        jonathan Jonathan Reissmueller made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Progress [ 3 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            abdy Abdy Franco
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              4/Aug/23

              Agile