Skip to content

Commit 6fc46be

Browse files
committed
Merge pull request #28 from mcg-web/patch-2
setDefaultResolveFn should be static
2 parents dba93ab + 8763c94 commit 6fc46be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Executor/Executor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class Executor
5555
* @param $fn
5656
* @throws \Exception
5757
*/
58-
public function setDefaultResolveFn($fn)
58+
public static function setDefaultResolveFn($fn)
5959
{
6060
Utils::invariant(is_callable($fn), 'Expecting callable, but got ' . Utils::getVariableType($fn));
6161
self::$defaultResolveFn = $fn;

0 commit comments

Comments
 (0)