Merge pull request #16866 from shankhadevpadam/patch-1

Fix getColumns return type
This commit is contained in:
Dan Harrin
2025-07-08 12:55:52 +01:00
committed by GitHub
+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,