Move Run::getInspector from the bottom of the class

This commit is contained in:
filp
2013-03-14 15:43:31 +00:00
parent 8c1553ff5a
commit 8cb769ac96
+9 -9
View File
@@ -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);
}
}