Correct minor typos

This commit is contained in:
Chris Brown
2024-11-13 12:13:34 -05:00
committed by GitHub
parent f930a75a70
commit 3f3a94c286
+2 -2
View File
@@ -168,7 +168,7 @@ protected static bool $isLazy = false;
## Adding a header and description
You may also add a header and description text above the widget by overriding the `$header` and `$description` properties:
You may also add header and description text above the widget by overriding the `$header` and `$description` properties:
```php
protected ?string $header = 'Analytics';
@@ -176,7 +176,7 @@ protected ?string $header = 'Analytics';
protected ?string $description = 'An overview of some analytics.';
```
If you need to dynamically generated the header or description text, you can instead override the `getHeader()` and `getDescription()` methods:
If you need to dynamically generate the header or description text, you can instead override the `getHeader()` and `getDescription()` methods:
```php
protected function getHeader(): ?string