Skip to content

Commit 334665b

Browse files
committed
Merge pull request #598 from wmde/idConstants
Add since tags to EntityId::PATTERN constants
2 parents 20c9770 + 85f2867 commit 334665b

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

src/Entity/ItemId.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
*/
1313
class ItemId extends EntityId {
1414

15+
/**
16+
* @since 0.5
17+
*/
1518
const PATTERN = '/^Q[1-9]\d*$/i';
1619

1720
/**

src/Entity/PropertyId.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
*/
1313
class PropertyId extends EntityId {
1414

15+
/**
16+
* @since 0.5
17+
*/
1518
const PATTERN = '/^P[1-9]\d*$/i';
1619

1720
/**

0 commit comments

Comments
 (0)