diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-10-06 11:07:14 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-10-06 11:07:14 +0000 |
commit | eabf7ab4ca423df42e53d11de30a814b39b03800 (patch) | |
tree | 4feee0b977c909375cbb4a6036dedd21050dc167 /includes | |
parent | e85f1b32a7eeda454f6c475b61416f3f37bc5523 (diff) | |
download | brdo-eabf7ab4ca423df42e53d11de30a814b39b03800.tar.gz brdo-eabf7ab4ca423df42e53d11de30a814b39b03800.tar.bz2 |
- Patch #180137 by c960657: added type hinting to make it easier to track down errors.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/common.inc | 4 |
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(), |