Skip to content

Conversation

Nyholm
Copy link
Member

@Nyholm Nyholm commented Aug 7, 2018

This will fix #45

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 98.824% when pulling 4bad328 on Nyholm:types into a03831b on PHPFastCGI:master.

}

public function createTcpDaemon(KernelInterface $kernel, DaemonOptions $options, $port, $host = 'localhost')
public function createTcpDaemon(KernelInterface $kernel, DaemonOptions $options, string $host = 'localhost', int $port): DaemonInterface
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line fixed a bug.
Port and host was in the reverse order.

@AndrewCarterUK
Copy link
Member

Great PR, thanks very much!

@AndrewCarterUK AndrewCarterUK merged commit b4f36a8 into PHPFastCGI:master Aug 7, 2018
@Nyholm Nyholm deleted the types branch August 7, 2018 15:05
@Nyholm
Copy link
Member Author

Nyholm commented Aug 7, 2018

Thank you for merging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add PHP7 scalar typehints and return type annotations

3 participants