Browse files

Changed some comments to help the IDE out

  • Loading branch information...
1 parent dc1c0e2 commit 1b855d9e1cbfe6f90b54d74eca8e961ca01f197b @rikh42 committed Mar 25, 2013
Showing with 11 additions and 0 deletions.
  1. +11 −0 errors/FlattenException.php
View
11 errors/FlattenException.php
@@ -49,6 +49,13 @@ class FlattenException
private $statusCode;
private $headers;
+
+ /**
+ * @param \Exception $exception
+ * @param int $statusCode
+ * @param array $headers
+ * @return FlattenException
+ */
public static function create(\Exception $exception, $statusCode = 500, array $headers = array())
{
$e = new static();
@@ -65,6 +72,10 @@ public static function create(\Exception $exception, $statusCode = 500, array $h
return $e;
}
+
+ /**
+ * @return array
+ */
public function toArray()
{
$exceptions = array();

0 comments on commit 1b855d9

Please sign in to comment.