We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee22a94 commit 4827e61Copy full SHA for 4827e61
src/KeyRemoved.php
@@ -26,7 +26,7 @@ public function getPath(): string
26
return $this->path;
27
}
28
29
- public function getKey()
+ public function getName()
30
{
31
return $this->name;
32
tests/Feature/JsonDiffTest.php
@@ -191,7 +191,7 @@ public function test_elements_removed_between_jsons(): void
191
192
// Check that the correct keys are removed
193
$keysRemoved->each(function (KeyRemoved $keyRemoved) use ($removedItems): void {
194
- $this->assertArrayHasKey($keyRemoved->getKey(), $removedItems);
+ $this->assertArrayHasKey($keyRemoved->getName(), $removedItems);
195
});
196
197
// Check that the correct values are removed
0 commit comments