Skip to content

Commit

Permalink
adjust to maintain compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Piovezan committed Jun 9, 2024
1 parent 8c2833f commit c82b614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LaravelRequestDocs.php
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ public function lrdDocComment(string $docComment): string
public function appendExample(Doc $doc): void
{
try {
$modelName = Str::replaceMatches(
$modelName = preg_replace(
config('request-docs.pattern_model_from_controller_name'),
'',
class_basename($doc->getController())
Expand Down

0 comments on commit c82b614

Please sign in to comment.