summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/common.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 42cc5b7e2..82bea3787 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -1318,7 +1318,7 @@ function format_date($timestamp, $type = 'medium', $format = '', $timezone = NUL
* When creating links in modules, consider whether l() could be a better
* alternative than url().
*/
-function url($path = NULL, $options = array()) {
+function url($path = NULL, array $options = array()) {
// Merge in defaults.
$options += array(
'fragment' => '',
@@ -1491,7 +1491,7 @@ function drupal_attributes($attributes = array()) {
* @return
* an HTML string containing a link to the given path.
*/
-function l($text, $path, $options = array()) {
+function l($text, $path, array $options = array()) {
// Merge in defaults.
$options += array(
'attributes' => array(),