| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 50 | public function handle() |
||
| 51 | { |
||
| 52 | $this->output->writeln('<info>Publishing new provided routes...</info>'); |
||
| 53 | $published = $this->publisher->publishProvidedRoutes(); |
||
| 54 | |||
| 55 | $this->output->writeln('<info>Published '.count($published).' new dynamic routes:</info>'); |
||
| 56 | foreach($published as $route) { |
||
| 57 | $this->output->writeln('<info>- '.$route->name.'</info>'); |
||
| 58 | } |
||
| 59 | |||
| 60 | $this->call('dynamic-route:compile'); |
||
| 61 | } |
||
| 62 | } |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..