Skip to content

Commit 9195adb

Browse files
authored
Merge pull request #156 from rodrigoprimo/array-declaration-spacing
PHP: use "arrays with keys" instead of "associative arrays"
2 parents 96d4aca + c35014d commit 9195adb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • wordpress-coding-standards

wordpress-coding-standards/php.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ Exception: if you have a block of code that would be more readable if things are
263263
[tab]$foo5 = 'somevalue4';
264264
```
265265

266-
For associative arrays, _each item_ should start on a new line when the array contains more than one item:
266+
For arrays with keys, _each item_ should start on a new line when the array contains more than one item:
267267

268268
```php
269269
$query = new WP_Query( array( 'ID' => 123 ) );

0 commit comments

Comments
 (0)