User tests: Successful: Unsuccessful:
return type of send()
function between class and interface do not match
class: boolean
joomla-cms/libraries/src/Mail/Mail.php
Lines 124 to 134 in a31a19c
interface: void
joomla-cms/libraries/src/Mail/MailerInterface.php
Lines 23 to 32 in a31a19c
class contains return statement:
joomla-cms/libraries/src/Mail/Mail.php
Line 179 in a31a19c
code review
phan warning:
libraries/src/Mail/Mail.php:134 PhanParamSignatureMismatch Declaration of function Send() : bool should be compatible with function send() : void defined in libraries/src/Mail/MailerInterface.php:32
return type of class and interface match (warning in phan disappear)
Please select:
Status | New | ⇒ | Pending |
Category | ⇒ | Libraries |
Labels |
Added:
PR-4.4-dev
|
Labels |
Added:
bug
b/c break
|
Changing the interface is a b/c break but Implemented code says it returns a boolean... @laoneo @MacJoom what would you like to do? move to 6.0? or merge to 4.4?