Skip to content

Commit 36a3bb2

Browse files
committed
Remove unnecessary trim
1 parent dc00e0c commit 36a3bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NamesResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public static function resourceIdFor(Model $model, string $prefix = ""): string
7575
return "{$prefix}create_{$resource}";
7676
}
7777

78-
return trim("{$prefix}{$resource}_{$modelId}", '_');
78+
return "{$prefix}{$resource}_{$modelId}";
7979
}
8080

8181
private static function getModelWithoutRootNamespaces(Model $model): string

0 commit comments

Comments
 (0)