Skip to content

Commit c4619a3

Browse files
fix: implicit nullable missed in __construct
1 parent 04db7b2 commit c4619a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/promise-adapter/src/Adapter/WebonyxGraphQLSyncPromiseAdapter.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class WebonyxGraphQLSyncPromiseAdapter implements PromiseAdapterInterface
3030
*/
3131
private $webonyxPromiseAdapter;
3232

33-
public function __construct(SyncPromiseAdapter $webonyxPromiseAdapter = null)
33+
public function __construct(?SyncPromiseAdapter $webonyxPromiseAdapter = null)
3434
{
3535
$webonyxPromiseAdapter = $webonyxPromiseAdapter?:new SyncPromiseAdapter();
3636
$this->setWebonyxPromiseAdapter($webonyxPromiseAdapter);

0 commit comments

Comments
 (0)