Skip to content

Commit 5e63d97

Browse files
authored
Add Metafield property and method to docblock
SmartCollection has Metafield support, but static analysis will complain unless it is described in the docblock.
1 parent 5bc3d3a commit 5e63d97

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/SmartCollection.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@
1515
* SmartCollection -> Child Resources
1616
* --------------------------------------------------------------------------
1717
* @property-read Event $Event
18+
* @property-read Metafield $Metafield
1819
*
1920
* @method Event Event(integer $id = null)
21+
* @method Metafield Metafield(integer $id = null)
2022
*
2123
* --------------------------------------------------------------------------
2224
* SmartCollection -> Custom actions

0 commit comments

Comments
 (0)