File tree Expand file tree Collapse file tree 2 files changed +64
-126
lines changed
Expand file tree Collapse file tree 2 files changed +64
-126
lines changed Original file line number Diff line number Diff line change 33namespace librarianphp \Build ;
44
55use Librarian \Builder \StaticBuilder ;
6+ use Librarian \ContentType ;
67use Librarian \Provider \ContentServiceProvider ;
78use Minicli \Command \CommandController ;
89
@@ -22,9 +23,10 @@ public function handle(): void
2223
2324 //Build content single pages
2425 $ contentTypes = $ content ->getContentTypes ();
26+ /** @var ContentType $contentType */
2527 foreach ($ contentTypes as $ contentType ) {
26- $ this ->getPrinter ()->info ("Building content type ' $ contentType' " );
27- $ builder ->buildContentType ($ contentType );
28+ $ this ->getPrinter ()->info ("Building content type ' $ contentType-> slug ' " );
29+ $ builder ->buildContentType ($ contentType-> slug );
2830 }
2931
3032 $ this ->getPrinter ()->info ("Building tag pages " );
You can’t perform that action at this time.
0 commit comments