Skip to content

Commit d8baa07

Browse files
committed
docs: address Copilot review (round 8)
- extensions.md: "support types" -> "supported types". - fr/hot-reload.md: typo "gére" -> "gère". Signed-off-by: Kévin Dunglas <kevin@dunglas.fr>
1 parent 9a072c3 commit d8baa07

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/extensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ func process_data_packed(arr *C.zend_array) unsafe.Pointer {
259259
- **Ordered key-value pairs** - Option to keep the order of the associative array
260260
- **Optimized for multiple cases** - Option to ditch the order for better performance or convert straight to a slice
261261
- **Automatic list detection** - When converting to PHP, automatically detects if the array should be a packed list or a hashmap
262-
- **Nested Arrays** - Arrays can be nested and will convert all support types automatically (`int64`, `float64`, `string`, `bool`, `nil`, `AssociativeArray`, `map[string]any`, `[]any`)
262+
- **Nested Arrays** - Arrays can be nested and will convert all supported types automatically (`int64`, `float64`, `string`, `bool`, `nil`, `AssociativeArray`, `map[string]any`, `[]any`)
263263
- **Objects are not supported** - Currently, only scalar types and arrays can be used as values. Providing an object will result in a `null` value in the PHP array.
264264

265265
##### Available methods: Packed and Associative

docs/fr/hot-reload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ php_server {
8383
Le serveur détecte les modifications et publie les modifications automatiquement. Le navigateur doit s'abonner à ces événements pour mettre à jour la page.
8484
FrankenPHP expose l'URL du Hub Mercure à utiliser pour s'abonner aux modifications de fichiers via la variable d'environnement `$_SERVER['FRANKENPHP_HOT_RELOAD']`.
8585

86-
La bibliothèque JavaScript [frankenphp-hot-reload](https://www.npmjs.com/package/frankenphp-hot-reload) gére la logique côté client.
86+
La bibliothèque JavaScript [frankenphp-hot-reload](https://www.npmjs.com/package/frankenphp-hot-reload) gère la logique côté client.
8787
Pour l'utiliser, ajoutez le code suivant à votre gabarit (_layout_) principal :
8888

8989
```php

0 commit comments

Comments
 (0)