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 Franco
created issue -
Abdy Franco
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 5.7.0-b1 [ 11737 ] |
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 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 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 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 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. |
Paul Phillips
made changes -
Fix Version/s | 5.7.0 [ 11800 ] | |
Fix Version/s | 5.7.0-b1 [ 11737 ] |
Paul Phillips
made changes -
Fix Version/s | 5.8.0-b1 [ 11742 ] | |
Fix Version/s | 5.7.0 [ 11800 ] |
Jonathan Reissmueller
made changes -
Assignee | Jonathan Reissmueller [ jonathan ] |
Jonathan Reissmueller
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Jonathan Reissmueller
made changes -
Status | In Progress [ 3 ] | Closed [ 6 ] |
Resolution | Fixed [ 1 ] |