Ensure "static" methods are defined with the "static" keyword
Reported by dleffler | July 30th, 2011 @ 09:37 PM | in Release Candidate 2 (closed)
If you call a method statically, there are no object variables. Since we do a lot of static calls to our subsystems, etc... we should give them the static keyword to throw the correct error is we attempt to edit them with "object" functions like "$this->xxx".
I've already got this done for at least all the methods we current call statically, just testing it before pushing it up.
Comments and changes to this ticket
-
expNinja July 31st, 2011 @ 03:40 AM
- State changed from new to resolved
- Milestone order changed from 5 to 0
(from [eff14d82a81313c03ddf0eb916fda73f98d9f78a]) Convert statically called methods to 'static' methods. Also includes controls with a static method (parseData) which were updated. [#267 state:resolved] [#266] https://github.com/exponentcms/exponent-cms/commit/eff14d82a81313c0...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS