Skip to content

Commit 687f24a

Browse files
Adjust syntax for docblock
1 parent 78a2a84 commit 687f24a

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

php/class-analytics.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,11 @@ public function is_enabled() {
225225
* Filter whether the plugin emits custom analytics events.
226226
*
227227
* @hook cloudinary_analytics_enabled
228-
* @since 3.3.4
228+
* @since 3.3.5
229229
*
230-
* @param $enabled {bool} Whether analytics are enabled.
230+
* @param bool $enabled Whether analytics are enabled.
231231
*
232-
* @return {bool}
232+
* @return bool
233233
*/
234234
return (bool) apply_filters( 'cloudinary_analytics_enabled', true );
235235
}
@@ -459,11 +459,11 @@ public function maybe_send_smoke_event() {
459459
* Filter whether the analytics smoke-test event is emitted.
460460
*
461461
* @hook cloudinary_analytics_smoke_test
462-
* @since 3.3.4
462+
* @since 3.3.5
463463
*
464-
* @param $enabled {bool} Whether to emit the smoke-test event.
464+
* @param bool $enabled Whether to emit the smoke-test event.
465465
*
466-
* @return {bool}
466+
* @return bool
467467
*/
468468
if ( ! apply_filters( 'cloudinary_analytics_smoke_test', false ) ) {
469469
return;

php/integrations/class-elementor.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ public function replace_background_images_in_css( $post_css, $element ) {
7979
*
8080
* @hook cloudinary_elementor_replace_background_images_in_css
8181
* @since 3.3.4
82-
* @default {true}
82+
* @default true
8383
*
84-
* @param $replace {bool} Whether to replace background images. Default true.
85-
* @param $post_css {Post} The post CSS object.
86-
* @param $element {Element_Base} The Elementor element being processed.
84+
* @param bool $replace Whether to replace background images. Default true.
85+
* @param Post $post_css The post CSS object.
86+
* @param Element_Base $element The Elementor element being processed.
8787
*
88-
* @return {bool}
88+
* @return bool
8989
*/
9090
if ( ! apply_filters( 'cloudinary_elementor_replace_background_images_in_css', true, $post_css, $element ) ) {
9191
return;

0 commit comments

Comments
 (0)