View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0020184 | mantisbt | code cleanup | public | 2015-10-09 03:51 | 2015-10-27 02:33 |
Reporter | cproensa | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | won't fix | ||
Product Version | 1.3.0-beta.3 | ||||
Summary | 0020184: MantisColumn class not compatible from 1.2 to 1.3 | ||||
Description | In v1.2.x, there is defined this abstract method: In v1.3, the bug parameter is type hinted: However, for PHP those are different method declarations. Leaving or adding the type hint will issue an error in each other implementation. | ||||
Tags | No tags attached. | ||||
I am aware of the problem. Unfortunately, I can't think of any way to achieve this while keeping the type hint, other than having such a plugin maintain 2 distinct branches for 1.2 and 1.3 support. |
|
i made a workaround like this (psudo-code) <pre> class FINAL extends TMP because if/else is not allowed inside class definitions, but is allowed outside of class blocks. |
|