Skip to content

Commit 7242a0c

Browse files
committed
Merge pull request #596 from wmde/typeDocs
More specific property type documentation
2 parents 11a7f77 + 9173456 commit 7242a0c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Entity/EntityDocument.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ interface EntityDocument {
2525
public function getId();
2626

2727
/**
28-
* Returns a type identifier for the entity.
28+
* Returns a type identifier for the entity, e.g. "item" or "property".
2929
*
3030
* @since 0.8.2
3131
*

src/Entity/Item.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ public static function newEmpty() {
251251
*
252252
* @since 0.1
253253
*
254-
* @return string
254+
* @return string Returns the entity type "item".
255255
*/
256256
public function getType() {
257257
return self::ENTITY_TYPE;

src/Entity/Property.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public function getDataTypeId() {
173173
*
174174
* @since 0.1
175175
*
176-
* @return string
176+
* @return string Returns the entity type "property".
177177
*/
178178
public function getType() {
179179
return self::ENTITY_TYPE;

0 commit comments

Comments
 (0)