Skip to content

Commit d4a074c

Browse files
authored
Merge pull request #130 from php-api-clients/correct-example-property-name
Correct example property name
2 parents 91c4220 + 29d7e87 commit d4a074c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Gatherer/Schema.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public static function gather(
3131
);
3232
$properties[] = $gatheredProperty;
3333

34-
if (!array_key_exists($gatheredProperty->name, $example)) {
35-
$example[$gatheredProperty->name] = $gatheredProperty->exampleData;
34+
if (!array_key_exists($gatheredProperty->sourceName, $example)) {
35+
$example[$gatheredProperty->sourceName] = $gatheredProperty->exampleData;
3636
}
3737
}
3838

0 commit comments

Comments
 (0)