Skip to content

Commit

Permalink
refac: replace required annotation by attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
gimler committed May 29, 2024
1 parent 9adbc22 commit f835ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SoapClient/SoapClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ public function setMockResponses(array $mockResponses)

/**
* @param EventDispatcherInterface $dispatcher
* @required
*/
#[\Symfony\Contracts\Service\Attribute\Required]
public function setDispatcher(EventDispatcherInterface $dispatcher)
{
$this->dispatcher = $dispatcher;
Expand Down

0 comments on commit f835ffa

Please sign in to comment.