We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7e8765 commit f44f2b9Copy full SHA for f44f2b9
1 file changed
src/Parser.php
@@ -9,7 +9,6 @@
9
10
use Psr\Http\Message\StreamInterface;
11
use SimpleXMLElement;
12
-use Exception;
13
14
/**
15
* @author David North
@@ -94,7 +93,6 @@ public function parse(StreamInterface $stream)
94
93
* @param \Closure $callback The callback mechanism to use
95
*
96
* @return Parser
97
- * @throws Exception
98
*/
99
public function on($path, \Closure $callback)
100
{
@@ -116,7 +114,8 @@ public function on($path, \Closure $callback)
116
114
117
115
118
* @param string $path
119
- * @return self
+ *
+ * @return Parser
120
121
public function off($path)
122
0 commit comments