From 03987f2ba5eff459f4a4165be367dcebdb4813c1 Mon Sep 17 00:00:00 2001 From: Jaik Dean Date: Fri, 5 Apr 2019 10:10:41 +0100 Subject: [PATCH] Define null return type for Constraint::getDefaultOption() --- src/Symfony/Component/Validator/Constraint.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Component/Validator/Constraint.php b/src/Symfony/Component/Validator/Constraint.php index 3f8b803f78972..349698eb1af59 100644 --- a/src/Symfony/Component/Validator/Constraint.php +++ b/src/Symfony/Component/Validator/Constraint.php @@ -232,12 +232,13 @@ public function addImplicitGroupName($group) * * Override this method to define a default option. * - * @return string + * @return string|null * * @see __construct() */ public function getDefaultOption() { + return null; } /** pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy