Skip to content

Commit e714c0b

Browse files
author
Shawn McCool
committed
Update laravel/helpers.php
fixed example code in docblock for url()
1 parent 436672c commit e714c0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

laravel/helpers.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,10 +316,10 @@ function head($array)
316316
*
317317
* <code>
318318
* // Create a URL to a location within the application
319-
* $url = path('user/profile');
319+
* $url = url('user/profile');
320320
*
321321
* // Create a HTTPS URL to a location within the application
322-
* $url = path('user/profile', true);
322+
* $url = url('user/profile', true);
323323
* </code>
324324
*
325325
* @param string $url

0 commit comments

Comments
 (0)