@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | |
61 | 61 | /** |
62 | 62 | * Get current time |
63 | - * @return bool|string |
|
63 | + * @return string |
|
64 | 64 | */ |
65 | 65 | public function getObservationTime() { |
66 | 66 | return $time = date("H:i",strtotime($this->observation_time)); |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | |
81 | 81 | /** |
82 | 82 | * Get wind direction |
83 | - * @return mixed |
|
83 | + * @return string|null |
|
84 | 84 | */ |
85 | 85 | public function getWindDirection() { |
86 | 86 | $windDirection = [ |
@@ -1,10 +1,10 @@ |
||
1 | 1 | <?php |
2 | 2 | /** |
3 | - * Created by PhpStorm. |
|
4 | - * User: ignatenkov |
|
5 | - * Date: 23.08.15 |
|
6 | - * Time: 4:51 |
|
7 | - */ |
|
3 | + * Created by PhpStorm. |
|
4 | + * User: ignatenkov |
|
5 | + * Date: 23.08.15 |
|
6 | + * Time: 4:51 |
|
7 | + */ |
|
8 | 8 | |
9 | 9 | namespace YaWeather; |
10 | 10 |