Commit 6d50ed59 authored by mikeytown2's avatar mikeytown2

Issue #2753969 by mikeytown2: force options array to be an array.

parent e201bb49
......@@ -510,7 +510,7 @@ function httprl_parse_url($url, &$result) {
* @param array &$options
* Array containing options.
*/
function httprl_set_default_options(&$options) {
function httprl_set_default_options(array &$options) {
global $base_root;
// Merge the default options.
......@@ -1131,7 +1131,7 @@ function httprl_establish_stream_connection(&$result) {
* Array where key is the URL and the value is the return value from
* httprl_send_request.
*/
function httprl_request($urls, $options = array()) {
function httprl_request($urls, array $options = array()) {
// See if a full bootstrap has been done.
$full_bootstrap = httprl_drupal_full_bootstrap();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment