mirror of
https://github.com/filp/whoops.git
synced 2026-09-15 12:16:18 +00:00
@@ -94,7 +94,7 @@ class Frame
|
||||
* An interesting use for this would be, for example, code analysis
|
||||
* & annotations.
|
||||
*
|
||||
* @param string $message
|
||||
* @param string $comment
|
||||
* @param string $context Optional string identifying the origin of the comment
|
||||
*/
|
||||
public function addComment($comment, $context = 'global')
|
||||
|
||||
@@ -72,7 +72,7 @@ abstract class Handler implements HandlerInterface
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Exception
|
||||
* @param Exception $exception
|
||||
*/
|
||||
public function setException(Exception $exception)
|
||||
{
|
||||
|
||||
@@ -17,17 +17,17 @@ interface HandlerInterface
|
||||
public function handle();
|
||||
|
||||
/**
|
||||
* @param Damnit\Run
|
||||
* @param Damnit\Run $run
|
||||
*/
|
||||
public function setRun(Run $run);
|
||||
|
||||
/**
|
||||
* @param Exception
|
||||
* @param Exception $exception
|
||||
*/
|
||||
public function setException(Exception $exception);
|
||||
|
||||
/**
|
||||
* @param Damnit\Exception\Inspector
|
||||
* @param Damnit\Exception\Inspector $run
|
||||
*/
|
||||
public function setInspector(Inspector $run);
|
||||
}
|
||||
|
||||
@@ -127,7 +127,7 @@ class PrettyPageHandler extends Handler
|
||||
{
|
||||
if($label !== null) {
|
||||
return isset($this->extraTables[$label]) ?
|
||||
$this->extraTables[$labe] : array();
|
||||
$this->extraTables[$label] : array();
|
||||
}
|
||||
|
||||
return $this->extraTables;
|
||||
|
||||
@@ -44,7 +44,6 @@ class DamnitServiceProvider implements ServiceProviderInterface
|
||||
$app['damnit.error_page_handler']->addDataTable('Silex Application (Request)', array(
|
||||
'URI' => $request->getUri(),
|
||||
'Request URI' => $request->getRequestUri(),
|
||||
'Base URL' => $request->getBaseUrl(),
|
||||
'Path Info' => $request->getPathInfo(),
|
||||
'Query String'=> $request->getQueryString() ?: '<none>',
|
||||
'HTTP Method' => $request->getMethod(),
|
||||
|
||||
@@ -186,7 +186,6 @@ class Run
|
||||
* @param string $message
|
||||
* @param string $file
|
||||
* @param int $line
|
||||
* @param array $context
|
||||
*/
|
||||
public function handleError($level, $message, $file = null, $line = null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user