fix docblock.

This commit is contained in:
Taylor Otwell 2012-04-19 08:28:22 -05:00
parent cac5ebad4a
commit d1428948ea
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ class Error {
* Handle an exception and display the exception report. * Handle an exception and display the exception report.
* *
* @param Exception $exception * @param Exception $exception
* @param bool $trace
* @return void * @return void
*/ */
public static function exception($exception, $trace = true) public static function exception($exception, $trace = true)
@ -24,6 +25,7 @@ public static function exception($exception, $trace = true)
<pre>".$exception->getMessage()."</pre> <pre>".$exception->getMessage()."</pre>
<h3>Location:</h3> <h3>Location:</h3>
<pre>".$exception->getFile()." on line ".$exception->getLine()."</pre>"; <pre>".$exception->getFile()." on line ".$exception->getLine()."</pre>";
if ($trace) if ($trace)
{ {
echo " echo "