Skip to content

Commit

Permalink
Enhance PHPdoc to keep phpstan happy
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-davis committed Jan 25, 2020
1 parent c431cb1 commit e2651d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ function normalize(string $uri): string
*
* @param string $uri
*
* @return array
* @return array<string, string>
*
* @throws InvalidUriException
*/
Expand Down Expand Up @@ -225,7 +225,7 @@ function ($matches) {
* This function takes the components returned from PHP's parse_url, and uses
* it to generate a new uri.
*
* @param array $parts
* @param array<string, string> $parts
*
* @return string
*/
Expand Down Expand Up @@ -283,7 +283,7 @@ function build(array $parts): string
*
* @param string $path
*
* @return array
* @return array<int, mixed>
*/
function split(string $path): array
{
Expand All @@ -307,7 +307,7 @@ function split(string $path): array
*
* @param string $uri
*
* @return array
* @return array<string, mixed>
*
* @throws InvalidUriException
*/
Expand Down

0 comments on commit e2651d4

Please sign in to comment.