Skip to content

Commit

Permalink
Add Metafield property and method to docblock
Browse files Browse the repository at this point in the history
SmartCollection has Metafield support, but static analysis will complain unless it is described in the docblock.
  • Loading branch information
ricog authored Jul 18, 2022
1 parent 5bc3d3a commit 5e63d97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/SmartCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
* SmartCollection -> Child Resources
* --------------------------------------------------------------------------
* @property-read Event $Event
* @property-read Metafield $Metafield
*
* @method Event Event(integer $id = null)
* @method Metafield Metafield(integer $id = null)
*
* --------------------------------------------------------------------------
* SmartCollection -> Custom actions
Expand Down

0 comments on commit 5e63d97

Please sign in to comment.