mirror of
https://github.com/pestphp/pest.git
synced 2026-03-11 18:27:23 +01:00
revert unwanted code
This commit is contained in:
@ -722,10 +722,6 @@ final class Expectation
|
||||
$valueAsArray = (array) $this->value;
|
||||
}
|
||||
|
||||
if (is_object($array) && method_exists($array, 'toArray')) {
|
||||
$array = $array->toArray();
|
||||
}
|
||||
|
||||
foreach ($array as $key => $value) {
|
||||
Assert::assertArrayHasKey($key, $valueAsArray);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user