#267 ✓resolved
dleffler

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

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.

New-ticket Create new ticket

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

Shared Ticket Bins

People watching this ticket

Tags

Pages