diff options
author | robocoder <anthon.pang@gmail.com> | 2009-08-22 17:23:16 +0400 |
---|---|---|
committer | robocoder <anthon.pang@gmail.com> | 2009-08-22 17:23:16 +0400 |
commit | 20cac9adab214fe1e8e8a37f0cf81ec28c7968fa (patch) | |
tree | 436d3d9c8546deb59b8f307dd5b20cd1a60d407f /core/ErrorHandler.php | |
parent | 6eb358f25786a76f3dfcd52f40304a515cf98411 (diff) |
phpdoc cleanup:
* add @category (Piwik => 'core', Piwik_Plugins => 'plugins')
* in core, use @package and @subpackage more consistently to group files/classes; exception is DataFiles/*, PluginsFunctions/*, and SmartyPlugins/*
* in plugins, @package is the plugin name
* removed '@param none' -- not a phpdoc convention
* '@throws' and '@return void' are also not phpdoc conventions, but are widely used elsewhere, e.g., Smarty & Zend
git-svn-id: http://dev.piwik.org/svn/trunk@1420 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/ErrorHandler.php')
-rw-r--r-- | core/ErrorHandler.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/ErrorHandler.php b/core/ErrorHandler.php index 3a4adcaa48..e1162972e9 100644 --- a/core/ErrorHandler.php +++ b/core/ErrorHandler.php @@ -6,7 +6,8 @@ * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later * @version $Id$ * - * @package Piwik_Helper + * @category Piwik + * @package Piwik */ if(!defined('E_STRICT')) { define('E_STRICT', 2048); } @@ -17,7 +18,10 @@ if(!defined('E_USER_DEPRECATED')) { define('E_USER_DEPRECATED', 16384); } /** * Error handler used to display nicely errors in Piwik * - * @package Piwik_Helper + * @param int $errno Error number + * @param string $errstring Error message + * @param string $errfile File name + * @param int $errline Line number */ function Piwik_ErrorHandler($errno, $errstr, $errfile, $errline) { |