| Conditions | 2 |
| Paths | 2 |
| Total Lines | 19 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 40 | public function handle() |
||
| 41 | { |
||
| 42 | $themes = $this->listSupportedThemes(); |
||
| 43 | |||
| 44 | $this->progressBar = $this->output->createProgressBar(count($themes)); |
||
| 45 | $this->progressBar->start(); |
||
| 46 | |||
| 47 | $this->line(" Listing supported themes. Please wait..."); |
||
| 48 | $this->progressBar->advance(); |
||
| 49 | |||
| 50 | foreach ($themes as $theme => $link) { |
||
| 51 | $this->line(" THEME_NAME: $theme\nTHEME_LINK: $link\n"); |
||
| 52 | $this->progressBar->advance(); |
||
| 53 | } |
||
| 54 | |||
| 55 | $this->progressBar->finish(); |
||
| 56 | $this->info(" Finished listed themes."); |
||
| 57 | return true; |
||
| 58 | } |
||
| 59 | |||
| 72 | } |
This check looks for the generic type
arrayas a return type and suggests a more specific type. This type is inferred from the actual code.