X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fpq%2FQuery%2FExecutorInterface.php;fp=lib%2Fpq%2FQuery%2FExecutorInterface.php;h=6c1bed140c4ed98cf03dac71b44555c3c958e889;hb=5c080bb03b5fee867da94cb3c1108d59529f741a;hp=f3bc0be971b89d3c19092b98066f88c0cd7c3d3f;hpb=0a6fac6b260383a6abea76804410273c7b8b630b;p=m6w6%2Fpq-gateway diff --git a/lib/pq/Query/ExecutorInterface.php b/lib/pq/Query/ExecutorInterface.php index f3bc0be..6c1bed1 100644 --- a/lib/pq/Query/ExecutorInterface.php +++ b/lib/pq/Query/ExecutorInterface.php @@ -27,7 +27,7 @@ interface ExecutorInterface extends \SplSubject * @param callable $callback * @return mixed the result of the callback */ - function execute(WriterInterface $query, callable $callback); + function execute(WriterInterface $query, callable $callback = null); /** * @return \pq\Query\WriterInterface