File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Contracts/HttpClient/Test Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public static function createCallable(Constraint|ValidatorInterface|null $constr
40
40
/**
41
41
* Creates a callable that returns true/false instead of throwing validation exceptions.
42
42
*
43
- * @return callable(mixed $value, ConstraintViolationListInterface &$violations = null): bool
43
+ * @return callable(mixed $value, ? ConstraintViolationListInterface &$violations = null): bool
44
44
*/
45
45
public static function createIsValidCallable (Constraint |ValidatorInterface |null $ constraintOrValidator = null , Constraint ...$ constraints ): callable
46
46
{
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class TestHttpServer
21
21
/**
22
22
* @param string|null $workingDirectory
23
23
*/
24
- public static function start (int $ port = 8057 /* , string $workingDirectory = null */ ): Process
24
+ public static function start (int $ port = 8057 /* , ? string $workingDirectory = null */ ): Process
25
25
{
26
26
$ workingDirectory = \func_get_args ()[1 ] ?? __DIR__ .'/Fixtures/web ' ;
27
27
You can’t perform that action at this time.
0 commit comments