Fix getColumns return type

getColumns has only an int and array return type
This commit is contained in:
Padam Shankhadev
2025-07-08 17:35:12 +05:45
committed by GitHub
parent 41721f8d53
commit 6efd05d085
+1 -1
View File
@@ -120,7 +120,7 @@ public function getColumns(): int | string | array
You may wish to change the number of widget grid columns based on the responsive [breakpoint](https://tailwindcss.com/docs/responsive-design#overview) of the browser. You can do this using an array that contains the number of columns that should be used at each breakpoint:
```php
public function getColumns(): int | string | array
public function getColumns(): int | array
{
return [
'md' => 4,