Skip to content

Commit

Permalink
Merge pull request #39 from BenMorel/throws
Browse files Browse the repository at this point in the history
Document InvalidUriException
  • Loading branch information
evert committed Jun 17, 2019
2 parents fb80e2a + 60ef14e commit b6fec2d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
* @param string $newPath
*
* @return string
*
* @throws InvalidUriException
*/
function resolve(string $basePath, string $newPath): string
{
Expand Down Expand Up @@ -113,6 +115,8 @@ function resolve(string $basePath, string $newPath): string
* @param string $uri
*
* @return string
*
* @throws InvalidUriException
*/
function normalize(string $uri): string
{
Expand Down Expand Up @@ -182,6 +186,8 @@ function normalize(string $uri): string
* @param string $uri
*
* @return array
*
* @throws InvalidUriException
*/
function parse(string $uri): array
{
Expand Down Expand Up @@ -302,6 +308,8 @@ function split(string $path): array
* @param string $uri
*
* @return array
*
* @throws InvalidUriException
*/
function _parse_fallback(string $uri): array
{
Expand Down

0 comments on commit b6fec2d

Please sign in to comment.