Skip to content

Commit 9936f97

Browse files
onairmarcEncoreBot
andauthored
Create Str::space() (#67)
Co-authored-by: EncoreBot <ghbot@encoredigitalgroup.com>
1 parent 5d32425 commit 9936f97

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.git-blame-ignore-revs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ f3cda4980fdc4c227e00250d7dfcfe4639dc60dc
3535
d676999a6145177a6f61007806f5b95f1df868bd
3636
53d9e752575f07527143ccee692673b8c6793141
3737
8334d091011e09e060e476cb29a17239627e9a39
38+
edb78e6307a371aff090127ce28aae9369605af8

src/Objects/Support/Types/Str.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ public static function empty(): string
1616
return "";
1717
}
1818

19+
public static function space(): string
20+
{
21+
return " ";
22+
}
23+
1924
public static function toString(mixed $value): string
2025
{
2126
return (string) $value;

0 commit comments

Comments
 (0)