@@ -130,7 +130,7 @@ private function writeMarkdown($parsedRoutes)
130130 return $ routeGroup ->transform (function ($ route ) use ($ generatedDocumentation , $ compareDocumentation ) {
131131 if (preg_match ('/<!-- START_ ' .$ route ['id ' ].' -->(.*)<!-- END_ ' .$ route ['id ' ].' -->/is ' , $ generatedDocumentation , $ routeMatch )) {
132132 $ 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 ' )) {
134134 if ($ routeDocumentationChanged ) {
135135 $ this ->warn ('Discarded manual changes for route [ ' .implode (', ' , $ route ['methods ' ]).'] ' .$ route ['uri ' ]);
136136 }
@@ -282,7 +282,7 @@ private function processDingoRoutes(AbstractGenerator $generator, $allowedRoutes
282282 if (empty ($ allowedRoutes ) || in_array ($ route ->getName (), $ allowedRoutes ) || str_is ($ routePrefix , $ route ->uri ()) || in_array ($ middleware , $ route ->middleware ())) {
283283 if ($ this ->isValidRoute ($ route ) && $ this ->isRouteVisibleForDocumentation ($ route ->getAction ()['uses ' ])) {
284284 $ 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 ());
286286 } else {
287287 $ this ->warn ('Skipping route: [ ' .implode (', ' , $ route ->getMethods ()).'] ' .$ route ->uri ());
288288 }
0 commit comments