async-interop / event-loop

An event loop interface for interoperability in PHP.
MIT License
169 stars 9 forks source link

Add InvalidWatcherException::getWatcherId #111

Closed kelunik closed 7 years ago

kelunik commented 8 years ago

Resolves #98. I guess this exception should only be thrown if the passed watcher identifier is a string. If a wrong type is passed, some other exception should be thrown.

kelunik commented 7 years ago

@bwoebi Could you merge this PR?