Skip to content

Commit 4984ff7

Browse files
committed
Fixed a misreferenced class
1 parent c5a7069 commit 4984ff7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

2.0/schemas/attributes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,14 +296,14 @@ If you want the array to always be sorted by its keys, use the
296296
`sortKeys()` method:
297297

298298
```php
299-
ArrHash::make('options')->sortKeys()
299+
ArrayHash::make('options')->sortKeys()
300300
```
301301

302302
Alternatively, if you want the array to always be sorted by its
303303
values, use the `sorted()` method:
304304

305305
```php
306-
ArrHash::make('options')->sorted()
306+
ArrayHash::make('options')->sorted()
307307
```
308308

309309
When working with associative arrays, you may find you need to convert

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy