mirror of
https://github.com/filp/whoops.git
synced 2026-09-18 05:36:21 +00:00
Move Run::getInspector from the bottom of the class
This commit is contained in:
+9
-9
@@ -80,6 +80,15 @@ class Run
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Exception $exception
|
||||
* @return Damnit\Exception\Inspector
|
||||
*/
|
||||
protected function getInspector(Exception $exception)
|
||||
{
|
||||
return new Inspector($exception);
|
||||
}
|
||||
|
||||
/**
|
||||
* Registers this instance as an error handler.
|
||||
* @return Damnit\Run
|
||||
@@ -193,13 +202,4 @@ class Run
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Exception $exception
|
||||
* @return Damnit\Exception\Inspector
|
||||
*/
|
||||
protected function getInspector(Exception $exception)
|
||||
{
|
||||
return new Inspector($exception);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user