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

View File

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