Skip to content

Commit a57702e

Browse files
committed
self -> static
1 parent 3780dc5 commit a57702e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Glob.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public static function pattern(string $pattern): self
4343
/** Set the directory separator string. */
4444
public static function directorySeparator(string $separator): void
4545
{
46-
self::$directorySeparator = $separator;
46+
static::$directorySeparator = $separator;
4747
}
4848

4949
/** Escape glob pattern characters from a string. */
@@ -133,7 +133,7 @@ public function toRegex(int $options = self::BOTH_ANCHORS): string
133133
$pattern .= '.*';
134134
++$i;
135135
} else {
136-
$pattern .= sprintf('[^%s]*', addslashes(self::$directorySeparator));
136+
$pattern .= sprintf('[^%s]*', addslashes(static::$directorySeparator));
137137
}
138138
break;
139139

0 commit comments

Comments
 (0)