Skip to content

Commit 6bcac2e

Browse files
committed
chore: cleanup, use static
1 parent 71495eb commit 6bcac2e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Illuminate/Support/Str.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
use League\CommonMark\Extension\InlinesOnly\InlinesOnlyExtension;
1010
use League\CommonMark\GithubFlavoredMarkdownConverter;
1111
use League\CommonMark\MarkdownConverter;
12+
use mysql_xdevapi\Statement;
1213
use Ramsey\Uuid\Codec\TimestampFirstCombCodec;
1314
use Ramsey\Uuid\Exception\InvalidUuidStringException;
1415
use Ramsey\Uuid\Generator\CombGenerator;
@@ -2120,7 +2121,7 @@ public static function nullOrEmpty($string)
21202121
*/
21212122
public static function nullOrWhitespace($string)
21222123
{
2123-
return self::nullOrEmpty($string) || trim($string) === '';
2124+
return static::nullOrEmpty($string) || trim($string) === '';
21242125
}
21252126

21262127
/**
@@ -2131,7 +2132,7 @@ public static function nullOrWhitespace($string)
21312132
*/
21322133
public static function notNullOrEmpty($string)
21332134
{
2134-
return ! self::nullOrEmpty($string);
2135+
return ! static::nullOrEmpty($string);
21352136
}
21362137

21372138
/**
@@ -2142,6 +2143,6 @@ public static function notNullOrEmpty($string)
21422143
*/
21432144
public static function notNullOrWhitespace($string)
21442145
{
2145-
return ! self::nullOrWhitespace($string);
2146+
return ! static::nullOrWhitespace($string);
21462147
}
21472148
}

0 commit comments

Comments
 (0)