Skip to content

Commit fd9e31c

Browse files
committed
fixed mock definition in test
1 parent 9db3889 commit fd9e31c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/Helper/Mocker/MockDaemonFactory.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
namespace PHPFastCGI\Test\FastCGIDaemon\Helper\Mocker;
44

55
use PHPFastCGI\FastCGIDaemon\DaemonFactoryInterface;
6+
use PHPFastCGI\FastCGIDaemon\DaemonInterface;
67
use PHPFastCGI\FastCGIDaemon\DaemonOptions;
78
use PHPFastCGI\FastCGIDaemon\KernelInterface;
89

910
class MockDaemonFactory implements DaemonFactoryInterface
1011
{
1112
use MockerTrait;
1213

13-
public function createDaemon(KernelInterface $kernel, DaemonOptions $options)
14+
public function createDaemon(KernelInterface $kernel, DaemonOptions $options, $fd = DaemonInterface::FCGI_LISTENSOCK_FILENO)
1415
{
1516
return $this->delegateCall('createDaemon', func_get_args());
1617
}

0 commit comments

Comments
 (0)