Skip to content

Commit ab387eb

Browse files
committed
Remove unsupported annotations, closes #34.
1 parent 08b6d1c commit ab387eb

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Cmfcmf/OpenWeatherMap/Util/Unit.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function __construct($value = 0.0, $unit = "", $description = "")
6464
*
6565
* @return string The value as formatted string with unit.
6666
*
67-
* @note The unit is not included if it is empty.
67+
* The unit is not included if it is empty.
6868
*/
6969
public function __toString()
7070
{
@@ -76,7 +76,7 @@ public function __toString()
7676
*
7777
* @return string The value's unit.
7878
*
79-
* @note This also converts 'celsius' to '°C' and 'fahrenheit' to 'F'.
79+
* This also converts 'celsius' to '°C' and 'fahrenheit' to 'F'.
8080
*/
8181
public function getUnit()
8282
{
@@ -115,7 +115,7 @@ public function getDescription()
115115
*
116116
* @return string The value as formatted string with unit.
117117
*
118-
* @note The unit is not included if it is empty.
118+
* The unit is not included if it is empty.
119119
*/
120120
public function getFormatted()
121121
{

Examples/CurrentWeather.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
echo "<br />\n";
6161

6262
/**
63-
* @notice In the example above we're using a "shortcut". OpenWeatherMap returns the minimum temperature of a day,
63+
* In the example above we're using a "shortcut". OpenWeatherMap returns the minimum temperature of a day,
6464
* the maximum temperature and the temperature right now. If you don't specify which temperature you want, it will default
6565
* to the current temperature. See below how to access the other values. Notice that each of them has implemented the methods
6666
* "getFormatted()", "getValue()", "getUnit()".
@@ -79,7 +79,7 @@
7979
echo "<br />\n";
8080

8181
/**
82-
* @notice When speaking about "current" and "now", this means when the weather data was last updated. You can get this
82+
* When speaking about "current" and "now", this means when the weather data was last updated. You can get this
8383
* via a DateTime object:
8484
*/
8585
echo "Last update: " . $weather->lastUpdate->format('r');
@@ -90,7 +90,7 @@
9090
echo "<br /><br />\n\n\nEXAMPLE 2<hr />\n\n\n";
9191

9292
/**
93-
* @notice You can use the methods above to only get the value or the unit.
93+
* You can use the methods above to only get the value or the unit.
9494
*/
9595

9696
echo "Pressure: " . $weather->pressure;
@@ -102,7 +102,7 @@
102102
echo "<br /><br />\n\n\nEXAMPLE 3<hr />\n\n\n";
103103

104104
/**
105-
* @notice These functions return a DateTime object.
105+
* These functions return a DateTime object.
106106
*/
107107

108108
echo "Sunrise: " . $weather->sun->rise->format('r');
@@ -156,7 +156,7 @@
156156
echo "<br />\n";
157157

158158
/**
159-
* @notice For speed and direction there is a description available, which isn't always translated.
159+
* For speed and direction there is a description available, which isn't always translated.
160160
*/
161161

162162
echo "Speed: " . $weather->wind->speed->getDescription();

0 commit comments

Comments
 (0)