Skip to content

Commit

Permalink
Make new describe $schema parameter optional to prevent BC
Browse files Browse the repository at this point in the history
  • Loading branch information
DjordyKoert committed Oct 27, 2023
1 parent ca71a66 commit 534be18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PropertyDescriber/PropertyDescriberInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ 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
Expand Down

0 comments on commit 534be18

Please sign in to comment.