Skip to content

Commit 85f2867

Browse files
committed
Add since tags to EntityId::PATTERN constants
1 parent 20c9770 commit 85f2867

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)