@@ -32,7 +32,7 @@ |
||
| 32 | 32 | * @static |
| 33 | 33 | * @access public |
| 34 | 34 | * @param \DateTime $dateTime |
| 35 | - * @return Date |
|
| 35 | + * @return Time |
|
| 36 | 36 | * |
| 37 | 37 | * @throws \OutOfRangeException |
| 38 | 38 | * @throws \InvalidArgumentException |
@@ -173,6 +173,6 @@ |
||
| 173 | 173 | */ |
| 174 | 174 | private function getDaysInMonth(Month $month, Year $year) |
| 175 | 175 | { |
| 176 | - return (int)date('t', mktime(0, 0, 0, (string) $month, 1, (string) $year)); |
|
| 176 | + return (int)date('t', mktime(0, 0, 0, (string)$month, 1, (string)$year)); |
|
| 177 | 177 | } |
| 178 | 178 | } |