Skip to content

Commit bc36700

Browse files
Jaik Deanfabpot
authored andcommitted
Define null return type for Constraint::getDefaultOption()
1 parent 8f16fba commit bc36700

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Constraint.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,12 +232,13 @@ public function addImplicitGroupName($group)
232232
*
233233
* Override this method to define a default option.
234234
*
235-
* @return string
235+
* @return string|null
236236
*
237237
* @see __construct()
238238
*/
239239
public function getDefaultOption()
240240
{
241+
return null;
241242
}
242243

243244
/**

0 commit comments

Comments
 (0)