@@ -15,11 +15,11 @@ |
||
| 15 | 15 | */ |
| 16 | 16 | class Calendar extends AbstractCalendar { |
| 17 | 17 | |
| 18 | - /** |
|
| 19 | - * @param $units |
|
| 20 | - * @param $store |
|
| 21 | - * @param $default_value |
|
| 22 | - */ |
|
| 18 | + /** |
|
| 19 | + * @param $units |
|
| 20 | + * @param $store |
|
| 21 | + * @param $default_value |
|
| 22 | + */ |
|
| 23 | 23 | public function __construct($units, $store, $default_value = 0) { |
| 24 | 24 | $this->units = $units; |
| 25 | 25 | $this->store = $store; |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | /** |
| 91 | 91 | * Returns the start date. |
| 92 | 92 | * |
| 93 | - * @return DateTime |
|
| 93 | + * @return \DateTime |
|
| 94 | 94 | */ |
| 95 | 95 | public function getStartDate() { |
| 96 | 96 | return clone($this->start_date); |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | /** |
| 108 | 108 | * Set the start date. |
| 109 | 109 | * |
| 110 | - * @param DateTime $start_date |
|
| 110 | + * @param \DateTime $start_date |
|
| 111 | 111 | */ |
| 112 | 112 | public function setStartDate(\DateTime $start_date) { |
| 113 | 113 | $this->start_date = clone($start_date); |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | /** |
| 117 | 117 | * Returns the end date. |
| 118 | 118 | * |
| 119 | - * @return DateTime |
|
| 119 | + * @return \DateTime |
|
| 120 | 120 | */ |
| 121 | 121 | public function getEndDate() { |
| 122 | 122 | return clone($this->end_date); |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | /** |
| 134 | 134 | * Set the end date. |
| 135 | 135 | * |
| 136 | - * @param DateTime $end_date |
|
| 136 | + * @param \DateTime $end_date |
|
| 137 | 137 | */ |
| 138 | 138 | public function setEndDate(\DateTime $end_date) { |
| 139 | 139 | $this->end_date = clone($end_date); |
@@ -245,6 +245,7 @@ discard block |
||
| 245 | 245 | |
| 246 | 246 | /** |
| 247 | 247 | * {@inheritdoc} |
| 248 | + * @param \DateTime $date |
|
| 248 | 249 | */ |
| 249 | 250 | public function isLastMonth($date) { |
| 250 | 251 | if ($date->format("n") == $this->endMonth() && $date->format("Y") == $this->endYear()) { |
@@ -622,7 +623,7 @@ discard block |
||
| 622 | 623 | /** |
| 623 | 624 | * Saves an event using the Store object |
| 624 | 625 | * |
| 625 | - * @param \Roomify\Bat\\Store\Store $store |
|
| 626 | + * @param Store $store |
|
| 626 | 627 | * @param string $granularity |
| 627 | 628 | * |
| 628 | 629 | * @return boolean |