Skip to content

Commit 9173456

Browse files
committed
More specific property type documentation
1 parent f5279b1 commit 9173456

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
@@ -170,7 +170,7 @@ public function getDataTypeId() {
170170
*
171171
* @since 0.1
172172
*
173-
* @return string
173+
* @return string Returns the entity type "property".
174174
*/
175175
public function getType() {
176176
return self::ENTITY_TYPE;

0 commit comments

Comments
 (0)