Skip to content

Commit

Permalink
πŸ§‘β€πŸ’» Improve intellisense for addPartial on repeaters and groups (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x authored Feb 27, 2024
1 parent 99c77dc commit 5bff825
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Builder/GroupBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
use Log1x\AcfComposer\Builder;
use StoutLogic\AcfBuilder\GroupBuilder as GroupBuilderBase;

/**
* @method FieldBuilder addPartial(string $partial)
*/
class GroupBuilder extends GroupBuilderBase
{
/**
Expand Down
3 changes: 3 additions & 0 deletions src/Builder/RepeaterBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
use Log1x\AcfComposer\Builder;
use StoutLogic\AcfBuilder\RepeaterBuilder as GroupBuilder;

/**
* @method FieldBuilder addPartial(string $partial)
*/
class RepeaterBuilder extends GroupBuilder
{
/**
Expand Down

0 comments on commit 5bff825

Please sign in to comment.