@@ -44,7 +44,7 @@ public function execute(Arguments $args, ConsoleIo $io): int {
4444 * @return void
4545 */
4646 protected function _templates ($ folder ) {
47- $ this ->io ? ->out(str_replace (ROOT , '' , $ folder ), 1 , ConsoleIo::VERBOSE );
47+ $ this ->io ->out (str_replace (ROOT , '' , $ folder ), 1 , ConsoleIo::VERBOSE );
4848
4949 $ folderContent = glob ($ folder . '* ' ) ?: [];
5050 foreach ($ folderContent as $ path ) {
@@ -61,8 +61,8 @@ protected function _templates($folder) {
6161 continue ;
6262 }
6363
64- if ($ this ->args ? ->getOption('verbose ' )) {
65- $ this ->io ? ->warning(sprintf ('Skipped template folder `%s` ' , str_replace (ROOT , '' , $ subFolder )));
64+ if ($ this ->args ->getOption ('verbose ' )) {
65+ $ this ->io ->warning (sprintf ('Skipped template folder `%s` ' , str_replace (ROOT , '' , $ subFolder )));
6666 }
6767
6868 break ;
@@ -84,7 +84,7 @@ protected function _templates($folder) {
8484 continue ;
8585 }
8686
87- $ this ->io ? ->out('-> ' . $ name , 1 , ConsoleIo::VERBOSE );
87+ $ this ->io ->out ('-> ' . $ name , 1 , ConsoleIo::VERBOSE );
8888 $ annotator = $ this ->getAnnotator (TemplateAnnotator::class);
8989 $ annotator ->annotate ($ path );
9090 }
0 commit comments