Skip to content

Commit d3d1aa7

Browse files
Add missing use
1 parent dd3d9d1 commit d3d1aa7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

helpers.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -867,6 +867,8 @@ You may also pass an array of values to determine if the given string contains a
867867

868868
The `Str::endsWith` method determines if the given string ends with the given value:
869869

870+
use Illuminate\Support\Str;
871+
870872
$result = Str::endsWith('This is my name', 'name');
871873

872874
// true

0 commit comments

Comments
 (0)