@@ -4,20 +4,20 @@ |
||
4 | 4 | |
5 | 5 | class Cache implements CacheInterface |
6 | 6 | { |
7 | - /** |
|
8 | - * change cache parameter |
|
9 | - * |
|
10 | - * @param bool $is |
|
11 | - * @param int $time |
|
12 | - * @return bool |
|
13 | - */ |
|
14 | - public static function setCache($is, $time) |
|
15 | - { |
|
16 | - if($is==true && is_numeric($time) && is_int($time)){ |
|
17 | - $output = true; |
|
18 | - }else{ |
|
19 | - $output = false; |
|
20 | - } |
|
21 | - return $output; |
|
22 | - } |
|
7 | + /** |
|
8 | + * change cache parameter |
|
9 | + * |
|
10 | + * @param bool $is |
|
11 | + * @param int $time |
|
12 | + * @return bool |
|
13 | + */ |
|
14 | + public static function setCache($is, $time) |
|
15 | + { |
|
16 | + if($is==true && is_numeric($time) && is_int($time)){ |
|
17 | + $output = true; |
|
18 | + }else{ |
|
19 | + $output = false; |
|
20 | + } |
|
21 | + return $output; |
|
22 | + } |
|
23 | 23 | } |
@@ -13,9 +13,9 @@ |
||
13 | 13 | */ |
14 | 14 | public static function setCache($is, $time) |
15 | 15 | { |
16 | - if($is==true && is_numeric($time) && is_int($time)){ |
|
16 | + if ($is==true && is_numeric($time) && is_int($time)) { |
|
17 | 17 | $output = true; |
18 | - }else{ |
|
18 | + }else { |
|
19 | 19 | $output = false; |
20 | 20 | } |
21 | 21 | return $output; |
@@ -15,7 +15,7 @@ |
||
15 | 15 | { |
16 | 16 | if($is==true && is_numeric($time) && is_int($time)){ |
17 | 17 | $output = true; |
18 | - }else{ |
|
18 | + } else{ |
|
19 | 19 | $output = false; |
20 | 20 | } |
21 | 21 | return $output; |