Skip to content

Commit 56ca285

Browse files
authored
Merge pull request #56 from ruudk/typehint-compat
Make SyncPromiseAdapter compatible with webonyx master
2 parents c6c0969 + c1d0b15 commit 56ca285

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Promise/Adapter/Webonyx/GraphQL/SyncPromiseAdapter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717

1818
class SyncPromiseAdapter extends BaseSyncPromiseAdapter
1919
{
20-
protected function beforeWait(Promise $promise)
20+
protected function beforeWait(Promise $promise): void
2121
{
2222
DataLoader::await();
2323
}
2424

25-
protected function onWait(Promise $promise)
25+
protected function onWait(Promise $promise): void
2626
{
2727
DataLoader::await();
2828
}

0 commit comments

Comments
 (0)