Statically used methods should be defined statically as well
This commit is contained in:
parent
959d6ae15e
commit
b0c26921ad
6 changed files with 49 additions and 49 deletions
|
|
@ -42,7 +42,7 @@ class Cache {
|
|||
*
|
||||
* @return integer The cache duration in seconds
|
||||
*/
|
||||
private function duration($level) {
|
||||
private static function duration($level) {
|
||||
switch($level) {
|
||||
case CACHE_MONTH;
|
||||
$seconds = 2592000;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue