Skip to content

Commit d159225

Browse files
Merge pull request #334 from leevigraham/patch-1
Update Webhook.php
2 parents 0b67e21 + 8139ce4 commit d159225

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Log/Webhook.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function setup(array $options)
132132
// PHP >7.2 deprecated the filter options and enabled them by default
133133
$filterOptions = version_compare(PHP_VERSION, '7.2.0', '<')
134134
? FILTER_FLAG_SCHEME_REQUIRED | FILTER_FLAG_HOST_REQUIRED
135-
: null;
135+
: 0;
136136

137137
if (!filter_var($options['uri'], FILTER_VALIDATE_URL, $filterOptions)) {
138138
throw new Exception('webhook URI is invalid');

0 commit comments

Comments
 (0)