Skip to content

Commit d912b91

Browse files
authored
[11.x] Add query method to UrlGenerator contract docblock (#51515)
* add query method to UrlGenerator interface using phpdoc so it is not a breaking change * Use the exact line from the facade's phpdoc
1 parent a078b1a commit d912b91

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Illuminate/Contracts/Routing/UrlGenerator.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
namespace Illuminate\Contracts\Routing;
44

5+
/**
6+
* @method string query(string $path, array $query = [], mixed $extra = [], bool|null $secure = null)
7+
*/
58
interface UrlGenerator
69
{
710
/**

0 commit comments

Comments
 (0)