@@ -56,20 +56,20 @@ protected function execute(InputInterface $input, OutputInterface $output)
5656 {
5757 $ this ->formatOutput ($ output );
5858
59- $ managerNames = array_keys ($ this ->projectionManagerNames );
59+ $ managerNames = \ array_keys ($ this ->projectionManagerNames );
6060
6161 if ($ requestedManager = $ input ->getOption (self ::OPTION_MANAGER )) {
62- $ managerNames = array_filter ($ managerNames , function (string $ managerName ) use ($ requestedManager ) {
62+ $ managerNames = \ array_filter ($ managerNames , function (string $ managerName ) use ($ requestedManager ) {
6363 return $ managerName === $ requestedManager ;
6464 });
6565 }
6666
6767 $ filter = $ input ->getArgument (self ::ARGUMENT_FILTER );
6868 $ regex = $ input ->getOption (static ::OPTION_REGEX );
6969
70- $ output ->write (sprintf ('<action>Projection names ' ));
70+ $ output ->write (\ sprintf ('<action>Projection names ' ));
7171 if ($ filter ) {
72- $ output ->write (sprintf (' filter <highlight>%s</highlight> ' , $ filter ));
72+ $ output ->write (\ sprintf (' filter <highlight>%s</highlight> ' , $ filter ));
7373 }
7474 if ($ regex ) {
7575 $ output ->write (' <comment>regex enabled</comment> ' );
@@ -87,8 +87,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
8787 foreach ($ managerNames as $ managerName ) {
8888 $ projectionManager = $ this ->projectionManagersLocator ->get ($ managerName );
8989
90- if (count ($ names ) > $ offset ) {
91- $ projectionNames = $ projectionManager ->$ method ($ filter , $ limit - (count ($ names ) - $ offset ));
90+ if (\ count ($ names ) > $ offset ) {
91+ $ projectionNames = $ projectionManager ->$ method ($ filter , $ limit - (\ count ($ names ) - $ offset ));
9292 } else {
9393 $ projectionNames = $ projectionManager ->$ method ($ filter );
9494 }
@@ -97,12 +97,12 @@ protected function execute(InputInterface $input, OutputInterface $output)
9797 $ names [] = [$ managerName , $ projectionName ];
9898 }
9999
100- if (count ($ names ) >= $ maxNeeded ) {
100+ if (\ count ($ names ) >= $ maxNeeded ) {
101101 break ;
102102 }
103103 }
104104
105- $ names = array_slice ($ names , $ offset , $ limit );
105+ $ names = \ array_slice ($ names , $ offset , $ limit );
106106
107107 $ table = new Table ($ output );
108108 $ table
0 commit comments