@@ -51,7 +51,7 @@ |
||
51 | 51 | /** |
52 | 52 | * Physical address of the item. |
53 | 53 | * |
54 | - * @param PostalAddress|string $address |
|
54 | + * @param PostalAddress $address |
|
55 | 55 | * @return PlaceTrait |
56 | 56 | */ |
57 | 57 | public function setAddress(PostalAddress $address) |
@@ -44,8 +44,8 @@ discard block |
||
44 | 44 | protected function timeToIso8601Duration($time) |
45 | 45 | { |
46 | 46 | $units = array( |
47 | - "Y" => 365*24*3600, |
|
48 | - "D" => 24*3600, |
|
47 | + "Y" => 365 * 24 * 3600, |
|
48 | + "D" => 24 * 3600, |
|
49 | 49 | "H" => 3600, |
50 | 50 | "M" => 60, |
51 | 51 | "S" => 1, |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | $str .= "T"; |
64 | 64 | $istime = true; |
65 | 65 | } |
66 | - $str .= strval($unit) . $unitName; |
|
66 | + $str .= strval($unit).$unitName; |
|
67 | 67 | } |
68 | 68 | } |
69 | 69 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | namespace luya\web\jsonld; |
4 | 4 | |
5 | 5 | /** |
6 | - * JsonLd Comment Trait. |
|
6 | + * JsonLd Comment Trait. |
|
7 | 7 | * |
8 | 8 | * @see http://schema.org/Comment |
9 | 9 | * @author Basil Suter <[email protected]> |