Skip to content

Conversation

star-szr
Copy link
Contributor

When dealing with complex arrays, it's often desirable to split them up onto multiple lines. This added snippet cuts down greatly on the keystrokes needed to do this, and follows standard indentation practices.

In the examples below, the vertical bar character is used to represent the caret.

Before:

$myArray = array(
    |)

After:

$myArray = array(
    |
)

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant