Skip to content

Commit

Permalink
fix: implicit nullable missed in __construct
Browse files Browse the repository at this point in the history
  • Loading branch information
KentarouTakeda committed Dec 3, 2024
1 parent 04db7b2 commit c4619a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class WebonyxGraphQLSyncPromiseAdapter implements PromiseAdapterInterface
*/
private $webonyxPromiseAdapter;

public function __construct(SyncPromiseAdapter $webonyxPromiseAdapter = null)
public function __construct(?SyncPromiseAdapter $webonyxPromiseAdapter = null)
{
$webonyxPromiseAdapter = $webonyxPromiseAdapter?:new SyncPromiseAdapter();
$this->setWebonyxPromiseAdapter($webonyxPromiseAdapter);
Expand Down

0 comments on commit c4619a3

Please sign in to comment.