diff --git a/src/CreativeWork.php b/src/CreativeWork.php index 0171251ed..2d828319a 100644 --- a/src/CreativeWork.php +++ b/src/CreativeWork.php @@ -48,7 +48,7 @@ public function accessMode($accessMode) * understand all the intellectual content of a resource. Expected values * include: auditory, tactile, textual, visual. * - * @param string|string[] $accessModeSufficient + * @param ItemList|ItemList[] $accessModeSufficient * * @return static * diff --git a/src/Place.php b/src/Place.php index eb9875648..006088690 100644 --- a/src/Place.php +++ b/src/Place.php @@ -260,6 +260,21 @@ public function isicV4($isicV4) return $this->setProperty('isicV4', $isicV4); } + /** + * The latitude of a location. For example ```37.42242``` ([WGS + * 84](https://en.wikipedia.org/wiki/World_Geodetic_System)). + * + * @param float|float[]|int|int[]|string|string[] $latitude + * + * @return static + * + * @see http://schema.org/latitude + */ + public function latitude($latitude) + { + return $this->setProperty('latitude', $latitude); + } + /** * An associated logo. * @@ -274,6 +289,21 @@ public function logo($logo) return $this->setProperty('logo', $logo); } + /** + * The longitude of a location. For example ```-122.08585``` ([WGS + * 84](https://en.wikipedia.org/wiki/World_Geodetic_System)). + * + * @param float|float[]|int|int[]|string|string[] $longitude + * + * @return static + * + * @see http://schema.org/longitude + */ + public function longitude($longitude) + { + return $this->setProperty('longitude', $longitude); + } + /** * A URL to a map of the place. * diff --git a/src/Thing.php b/src/Thing.php index c58214d4f..7333f044a 100644 --- a/src/Thing.php +++ b/src/Thing.php @@ -168,7 +168,7 @@ public function sameAs($sameAs) } /** - * A CreativeWork or Event about this Thing.. + * A CreativeWork or Event about this Thing. * * @param CreativeWork|CreativeWork[]|Event|Event[] $subjectOf *