@@ -194,7 +194,7 @@ |
||
194 | 194 | * |
195 | 195 | * @param mixed $item |
196 | 196 | * the item to examine |
197 | - * @return array |
|
197 | + * @return string[] |
|
198 | 198 | * the basic type of the examined item |
199 | 199 | */ |
200 | 200 | private static function fromString($item) |
@@ -57,13 +57,37 @@ |
||
57 | 57 | */ |
58 | 58 | interface Throwable |
59 | 59 | { |
60 | + |
|
61 | + /** |
|
62 | + * @return string |
|
63 | + */ |
|
60 | 64 | public function getMessage(); |
61 | 65 | public function getCode(); |
66 | + |
|
67 | + /** |
|
68 | + * @return string |
|
69 | + */ |
|
62 | 70 | public function getFile(); |
71 | + |
|
72 | + /** |
|
73 | + * @return integer |
|
74 | + */ |
|
63 | 75 | public function getLine(); |
64 | 76 | public function getTrace(); |
77 | + |
|
78 | + /** |
|
79 | + * @return string |
|
80 | + */ |
|
65 | 81 | public function getTraceAsString(); |
82 | + |
|
83 | + /** |
|
84 | + * @return Exception |
|
85 | + */ |
|
66 | 86 | public function getPrevious(); |
87 | + |
|
88 | + /** |
|
89 | + * @return string |
|
90 | + */ |
|
67 | 91 | public function __toString(); |
68 | 92 | } |
69 | 93 | } |