Unable to create hook
Issue #72
resolved
When using the create method on the hook :
$response = $hook->create( $owner, $slug, [ 'description' => 'CodePier', 'url' => action('WebHookController@deploy', $site->hash), 'active' => true, 'events' => [ 'repo:push', ], ]);
It will error out because of
L128 : /Http/Client.php if (count($params) > 0) {
As you are json_encoding the params which is a string and count must accept an array
Comments (5)
-
-
reporter Ah yes, I am.
-
-
assigned issue to
- removed component
-
assigned issue to
-
- changed status to resolved
Fixes for working on PHP > 7.0
- Fixed
count()
issue with PHP 7.2 (issue#72) kriswallsmith/buzz
constrained to^0.16
from~0.15
in order to work on PHP > 7.0 (issue#73)
→ <<cset b8a5c4628696>>
-
- changed version to 1.1
- Log in to comment
On PHP 7.2 I assume ?