Skip to content

Commit 82a21e3

Browse files
Fix return types
1 parent 47afe11 commit 82a21e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OptionsResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ public function isNested(string $option): bool
426426
*
427427
* @return $this
428428
*/
429-
public function setDeprecated(string $option, string $package, string $version, string|\Closure $message = 'The option "%name%" is deprecated.'): self
429+
public function setDeprecated(string $option, string $package, string $version, string|\Closure $message = 'The option "%name%" is deprecated.'): static
430430
{
431431
if ($this->locked) {
432432
throw new AccessException('Options cannot be deprecated from a lazy option or normalizer.');

0 commit comments

Comments
 (0)