Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Ensure "static" methods are defined with the "static" keyword

#267

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.

Reported by dleffler · July 30th, 2011 @ 09:37 PM

State: resolved
Assigned to: dleffler dleffler

Activity

  1. expNinja
    expNinja
    • State changed from new to resolved
    • Milestone order changed from 5 to 0

    July 31st, 2011 @ 03:40 AM

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.