Skip to content

Conversation

martin-schilling
Copy link
Contributor

No description provided.

* @param array $array2
* @return array
*/
private function arrayReplaceRecursiveAssocOnly(array $array1, array $array2): array

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jsor @heiglandreas can you take a look at these changes as well? It only affects testing environment and should not cause any existing tests to fail, but at least you should know about the change ;)

@codeliner codeliner merged commit 75937e6 into event-engine:master Mar 24, 2020

private function isSequentialArray(array $array): bool
{
if (\count($array) === 0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would write that as if ($array === []) { as that's one function call less ;-)

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.

3 participants