@@ -7,43 +7,43 @@ |
||
7 | 7 | { |
8 | 8 | |
9 | 9 | /** |
10 | - * @param integer store year value |
|
11 | - */ |
|
10 | + * @param integer store year value |
|
11 | + */ |
|
12 | 12 | protected $year; |
13 | 13 | |
14 | 14 | /** |
15 | - * @param string store type of year value |
|
16 | - */ |
|
15 | + * @param string store type of year value |
|
16 | + */ |
|
17 | 17 | protected $type; |
18 | 18 | |
19 | 19 | /** |
20 | - * @param boolean store result of leap functions |
|
21 | - */ |
|
20 | + * @param boolean store result of leap functions |
|
21 | + */ |
|
22 | 22 | protected $result; |
23 | 23 | |
24 | 24 | |
25 | 25 | /** |
26 | - * @param $year integer |
|
27 | - * @since Aug, 21 2015 |
|
28 | - */ |
|
26 | + * @param $year integer |
|
27 | + * @since Aug, 21 2015 |
|
28 | + */ |
|
29 | 29 | public function __construct($year, $type = 'gregorian') |
30 | 30 | { |
31 | 31 | |
32 | - $this->year = $year; |
|
32 | + $this->year = $year; |
|
33 | 33 | |
34 | - $this->type = $type; |
|
34 | + $this->type = $type; |
|
35 | 35 | |
36 | - return $this; |
|
36 | + return $this; |
|
37 | 37 | |
38 | 38 | } |
39 | 39 | |
40 | 40 | |
41 | 41 | /** |
42 | - * return the year is leap or not |
|
43 | - * |
|
44 | - * @since Aug, 21 2015 |
|
45 | - * @return boolean |
|
46 | - */ |
|
42 | + * return the year is leap or not |
|
43 | + * |
|
44 | + * @since Aug, 21 2015 |
|
45 | + * @return boolean |
|
46 | + */ |
|
47 | 47 | public function get() |
48 | 48 | { |
49 | 49 |