Skip to content

Commit

Permalink
Update the PHPDoc string
Browse files Browse the repository at this point in the history
  • Loading branch information
michalczaplinski committed Jan 11, 2024
1 parent b051f17 commit 23629de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/experimental/block-bindings/sources/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
*
* @param string $source_name The name of the source.
* @param string $label The label of the source.
* @param callable $apply The callback executed when the source is processed during block rendering. The callable should have the following signature:
* function (object $source_attrs, object $block_instance, string $attribute_name): string
* @param callable(object, object, string): string $apply - The callback executed when the source is processed during block rendering.
* - object $source_attrs: Object containing source ID used to look up the override value, i.e. {"value": "{ID}"}.
* - object $block_instance: The block instance.
* - string $attribute_name: The name of an attribute used to retrieve an override value from the block context.
Expand Down

0 comments on commit 23629de

Please sign in to comment.