From 3fcbde6d920359b71c35b6e222e73012f59a5d5c Mon Sep 17 00:00:00 2001
From: Trevor Simonton <trevor@westernascent.com>
Date: Mon, 3 Dec 2012 08:18:06 -0700
Subject: [PATCH] Issue #1279680 by tmsimont: type watchdog's variables array argument while still allowing NULL to pass.

---
 includes/bootstrap.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 74853b2..f0910f7 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -1680,7 +1680,7 @@ function watchdog_exception($type, Exception $exception, $message = NULL, $varia
  * @see watchdog_severity_levels()
  * @see hook_watchdog()
  */
-function watchdog($type, $message, $variables = array(), $severity = WATCHDOG_NOTICE, $link = NULL) {
+function watchdog($type, $message, array $variables = NULL, $severity = WATCHDOG_NOTICE, $link = NULL) {
   global $user, $base_root;
 
   static $in_error_state = FALSE;
-- 
1.7.4.msysgit.0

