@@ -130,7 +130,7 @@ private function writeMarkdown($parsedRoutes)
130
130
return $ routeGroup ->transform (function ($ route ) use ($ generatedDocumentation , $ compareDocumentation ) {
131
131
if (preg_match ('/<!-- START_ ' .$ route ['id ' ].' -->(.*)<!-- END_ ' .$ route ['id ' ].' -->/is ' , $ generatedDocumentation , $ routeMatch )) {
132
132
$ routeDocumentationChanged = (preg_match ('/<!-- START_ ' .$ route ['id ' ].' -->(.*)<!-- END_ ' .$ route ['id ' ].' -->/is ' , $ compareDocumentation , $ compareMatch ) && $ compareMatch [1 ] !== $ routeMatch [1 ]);
133
- if ($ routeDocumentationChanged === false || $ this ->option ('force ' )) {
133
+ if ($ routeDocumentationChanged === false || $ this ->option ('force ' )) {
134
134
if ($ routeDocumentationChanged ) {
135
135
$ this ->warn ('Discarded manual changes for route [ ' .implode (', ' , $ route ['methods ' ]).'] ' .$ route ['uri ' ]);
136
136
}
@@ -282,7 +282,7 @@ private function processDingoRoutes(AbstractGenerator $generator, $allowedRoutes
282
282
if (empty ($ allowedRoutes ) || in_array ($ route ->getName (), $ allowedRoutes ) || str_is ($ routePrefix , $ route ->uri ()) || in_array ($ middleware , $ route ->middleware ())) {
283
283
if ($ this ->isValidRoute ($ route ) && $ this ->isRouteVisibleForDocumentation ($ route ->getAction ()['uses ' ])) {
284
284
$ parsedRoutes [] = $ generator ->processRoute ($ route , $ bindings , $ this ->option ('header ' ), $ withResponse );
285
- $ this ->info ('Processed route: [ ' . implode (', ' , $ route ->getMethods ()) . '] ' . $ route ->uri ());
285
+ $ this ->info ('Processed route: [ ' . implode (', ' , $ route ->getMethods ()). '] ' . $ route ->uri ());
286
286
} else {
287
287
$ this ->warn ('Skipping route: [ ' .implode (', ' , $ route ->getMethods ()).'] ' .$ route ->uri ());
288
288
}
0 commit comments