Skip to content

Commit d1ffeba

Browse files
authored
Update widget-output-caching.md (#286)
1 parent de8e97a commit d1ffeba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/widgets/widget-output-caching.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ To enhance widget performance by caching static content, apply the following met
3434
```php
3535
class Elementor_Test_Widget extends \Elementor\Widget_Base {
3636

37-
protected function is_dynamic_content() {
37+
protected function is_dynamic_content(): bool {
3838
return false;
3939
}
4040

@@ -59,7 +59,7 @@ Let's say you have a widget with a single control in which the users can set a "
5959
<?php
6060
class Elementor_Test_Widget extends \Elementor\Widget_Base {
6161

62-
protected function is_dynamic_content() {
62+
protected function is_dynamic_content(): bool {
6363
return false;
6464
}
6565

0 commit comments

Comments
 (0)