Skip to content

Commit 41d0565

Browse files
committed
🎨
1 parent ffaa8be commit 41d0565

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Types/Concerns/HasProperties.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,9 @@ protected function addPropertiesToSchema(array $schema): array
342342
/**
343343
* Resolve the property title from a schema instance.
344344
*/
345-
protected function resolvePropertyTitle(JsonSchema $property): ?string
345+
protected function resolvePropertyTitle(JsonSchema $jsonSchema): ?string
346346
{
347-
return $property->getInitialTitle() ?? $property->getTitle();
347+
return $jsonSchema->getInitialTitle() ?? $jsonSchema->getTitle();
348348
}
349349

350350
/**

0 commit comments

Comments
 (0)