Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Nov 29, 2024
1 parent c9868ad commit 7e69946
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Config/Loader/ConfigLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ function (array $crafter, string $crafterId): CrafterConfig {
// E.q.: null -> [default]
$scopes = explode('+', $matches[1] ?? 'default');

// Input (@regex https://regex101.com/r/1zInYi/1)
// Input (@regex https://regex101.com/r/8EKFyD/1)
// E.q.: presenter/presenter.latte [resolver: latte, path: presenter/presenter.latte]
// E.q.: raw://presenter/presenter.latte [resolver: raw, path: presenter/presenter.latte]
$inputMatch = Strings::match($crafter['input'], '#^(?:(?P<schema>\w+):\/\/)?(?P<path>.+)$#') ?? throw new LogicalException(sprintf('Invalid input format "%s"', $crafter['input']));
Expand All @@ -219,7 +219,7 @@ function (array $crafter, string $crafterId): CrafterConfig {
vars: []
);

// Output (@regex https://regex101.com/r/1zInYi/1)
// Output (@regex https://regex101.com/r/8EKFyD/1)
// E.q.: presenter/presenter.latte [resolver: latte, path: presenter/presenter.latte]
// E.q.: raw://presenter/presenter.latte [resolver: raw, path: presenter/presenter.latte]
$outputMatch = Strings::match($crafter['output'], '#^(?:(?P<schema>\w+):\/\/)?(?P<path>.+)$#') ?? throw new LogicalException(sprintf('Invalid output format "%s"', $crafter['output']));
Expand Down

0 comments on commit 7e69946

Please sign in to comment.