Define null return type for Constraint::getDefaultOption()

This commit is contained in:
Jaik Dean 2019-04-05 10:10:41 +01:00 committed by Fabien Potencier
parent 69058e3873
commit 03987f2ba5
1 changed files with 2 additions and 1 deletions

View File

@ -232,12 +232,13 @@ abstract class Constraint
*
* Override this method to define a default option.
*
* @return string
* @return string|null
*
* @see __construct()
*/
public function getDefaultOption()
{
return null;
}
/**