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 7b0ea3f commit ea7feecCopy full SHA for ea7feec
src/helpers.php
@@ -3,6 +3,7 @@
3
declare(strict_types=1);
4
5
use Illuminate\Support\HtmlString;
6
+use OsiemSiedem\Autolink\Facades\Autolink;
7
8
if ( ! function_exists('autolink')) {
9
/**
@@ -14,6 +15,6 @@
14
15
*/
16
function autolink(string $text, callable $callback = null): HtmlString
17
{
- return app('osiemsiedem.autolink')->convert($text, $callback);
18
+ return Autolink::convert($text, $callback);
19
}
20
0 commit comments