ISTWCMS-7275: Rename "publication" to "reference" in custom block.
Compare changes
- Igor Biki authored
Updated function signatures to explicitly define $context and related parameters as arrays. This enhances code clarity and enforces stricter type safety, reducing potential errors during batch operations.
+ 5
− 9
@@ -55,7 +55,7 @@ function uw_custom_blocks_post_update_references_block_titles_updates_12(&$sandb
@@ -77,12 +77,8 @@ function _references_block_titles_updates_batch_start($count, &$context): void {
@@ -162,7 +158,7 @@ function _references_block_titles_updates_batch_update($nid, &$context): void {
@@ -174,7 +170,7 @@ function _references_block_titles_updates_batch_temp_storage(&$context) {
@@ -199,6 +195,6 @@ function _references_block_titles_updates_batch_end(&$context) {