Add type-hinting to easily debug logMessage() calls not changed.
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 17 Mar 2010 18:33:40 +0000 (12:33 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 17 Mar 2010 18:33:40 +0000 (12:33 -0600)
framework/Core/lib/Horde.php

index 8c518da..3e7ea37 100644 (file)
@@ -62,7 +62,7 @@ class Horde
      * @see Horde_Core_Log_Logger
      */
     static public function logMessage($event, $priority = 'INFO',
-                                      $options = array())
+                                      array $options = array())
     {
         $options['trace'] = 2;
         $GLOBALS['injector']->getInstance('Horde_Log_Logger')->log($event, $priority, $options);