Minor refactoring

This commit is contained in:
Meritoo
2019-09-06 11:58:55 +02:00
parent ded1a04900
commit 678cdfdf01
2 changed files with 4 additions and 12 deletions

View File

@@ -126,17 +126,9 @@ trait BaseTestCaseTrait
*/
public function provideNonScalarValue(): ?Generator
{
yield[
[],
];
yield[
null,
];
yield[
new stdClass(),
];
yield[[]];
yield[null];
yield[new stdClass()];
}
/**

View File

@@ -1612,7 +1612,7 @@ class Arrays
}
/**
* Returns information if given value is an empty array
* Returns information if given value is an array and is empty
*
* @param mixed $value The value to verify
* @return bool