We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe80b5c commit 9c57186Copy full SHA for 9c57186
src/Support/Str.php
@@ -65,7 +65,7 @@ public static function replaceScopeNameCapture(string $scopeName, array $capture
65
return '';
66
}
67
68
- while ($result[0] === '.') {
+ while ($result && $result[0] === '.') {
69
$result = substr($result, 1);
70
71
0 commit comments