fix: larastan error in Helpers\Linkify.php

This commit is contained in:
Roardom
2024-01-03 03:45:28 +00:00
parent aee0148c37
commit 16ee3bdfab
2 changed files with 1 additions and 6 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ use VStelmakh\UrlHighlight\Validator\Validator;
class Linkify
{
public function linky($text): string
public function linky(string $text): string
{
$validator = new Validator(
false, // bool - if should use top level domain to match urls without scheme
-5
View File
@@ -382,11 +382,6 @@ parameters:
count: 1
path: app/Helpers/HiddenCaptcha.php
-
message: "#^Method App\\\\Helpers\\\\Linkify\\:\\:linky\\(\\) has parameter \\$text with no type specified\\.$#"
count: 1
path: app/Helpers/Linkify.php
-
message: "#^Method App\\\\Helpers\\\\Markdown\\:\\:blockCode\\(\\) has no return type specified\\.$#"
count: 1