Skip to content

Commit

Permalink
PSR2 CS fixes, I love spaces for indention.
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Krämer committed Mar 30, 2015
1 parent d4cb434 commit ff88a2b
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions src/Error/Debugger.php
Expand Up @@ -217,22 +217,22 @@ public static function trace(array $options = [])
}

/**
* Formats a stack trace based on the supplied options.
*
* ### Options
*
* - `depth` - The number of stack frames to return. Defaults to 999
* - `format` - The format you want the return. Defaults to the currently selected format. If
* format is 'array' or 'points' the return will be an array.
* - `args` - Should arguments for functions be shown? If true, the arguments for each method call
* will be displayed.
* - `start` - The stack frame to start generating a trace from. Defaults to 0
*
* @param array|\Exception Trace as array or an exception object.
* @param array $options Format for outputting stack trace
* @return mixed Formatted stack trace
* @link http://book.cakephp.org/3.0/en/development/debugging.html#generating-stack-traces
*/
* Formats a stack trace based on the supplied options.
*
* ### Options
*
* - `depth` - The number of stack frames to return. Defaults to 999
* - `format` - The format you want the return. Defaults to the currently selected format. If
* format is 'array' or 'points' the return will be an array.
* - `args` - Should arguments for functions be shown? If true, the arguments for each method call
* will be displayed.
* - `start` - The stack frame to start generating a trace from. Defaults to 0
*
* @param array|\Exception Trace as array or an exception object.
* @param array $options Format for outputting stack trace
* @return mixed Formatted stack trace
* @link http://book.cakephp.org/3.0/en/development/debugging.html#generating-stack-traces
*/
public static function formatTrace($backtrace, $options = [])
{
if (is_a($backtrace, '\Exception')) {
Expand Down

0 comments on commit ff88a2b

Please sign in to comment.