diff --git a/PropertyDescriber/PropertyDescriberInterface.php b/PropertyDescriber/PropertyDescriberInterface.php index a02efe591..1e57e8f3c 100644 --- a/PropertyDescriber/PropertyDescriberInterface.php +++ b/PropertyDescriber/PropertyDescriberInterface.php @@ -18,8 +18,10 @@ interface PropertyDescriberInterface { /** * @param Type[] $types + * + * @param Schema $schema Allows to make changes inside of the schema (e.g. adding required fields) */ - public function describe(array $types, Schema $property, array $groups = null, ?Schema $schema = null); + public function describe(array $types, Schema $property, array $groups = null /*, ?Schema $schema = null */); /** * @param Type[] $types