We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c6c585 commit 71726ffCopy full SHA for 71726ff
src/Illuminate/Foundation/helpers.php
@@ -890,10 +890,11 @@ function secure_asset($path): string
890
*
891
* @param string $path
892
* @param mixed $parameters
893
+ * @return string
894
*/
- function secure_url($path, $parameters = []): string
895
+ function secure_url($path, $parameters = [])
896
{
- return url()->secure($path, $parameters);
897
+ return url($path, $parameters, true);
898
}
899
900
tests/Illuminate/Tests/Foundation/HelpersTest.php
0 commit comments