mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-05 18:19:59 -05:00
fix: larastan error in Helpers\Linkify.php
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user