Merge pull request #10 from pborreli/typos

Fixed typos
This commit is contained in:
Filipe Dobreira
2013-03-16 17:40:54 -07:00
6 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -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')
+1 -1
View File
@@ -72,7 +72,7 @@ abstract class Handler implements HandlerInterface
}
/**
* @param Exception
* @param Exception $exception
*/
public function setException(Exception $exception)
{
+3 -3
View File
@@ -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);
}
+1 -1
View File
@@ -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(),
-1
View File
@@ -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)
{