Code style fixes + more tests for invalid UTF-8 log.

This commit is contained in:
Dmitry Khomutov 2018-02-04 12:44:41 +07:00
commit 16755eadd4
No known key found for this signature in database
GPG key ID: EC19426474B37AAC
5 changed files with 56 additions and 30 deletions

View file

@ -55,10 +55,10 @@ abstract class Plugin
/**
* Find a binary required by a plugin.
*
* @param string $binary
* @param boolean $quiet Returns null instead of throwing an exception.
* @param array|string $binary
* @param boolean $quiet Returns null instead of throwing an exception.
*
* @return null|string
* @return string|false
*
* @throws \Exception when no binary has been found and $quiet is false.
*/