Skip to content

Commit

Permalink
Fix replacements
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmccreary committed Sep 16, 2023
1 parent 4eadc15 commit 214a2a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scoper.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ function (string $filePath, string $prefix, string $content): string {
if (str_starts_with($filePath, 'src/Tasks/')) {
$content = str_replace(
$prefix . '\\\\Illuminate\\\\',
'Illuminate\\\\Database\\\\',
'Illuminate\\\\',
$content
);

$content = str_replace(
$prefix . '\\\\App\\\\',
'App\\\\Models\\\\',
'App\\\\',
$content
);
}
Expand Down

0 comments on commit 214a2a3

Please sign in to comment.