| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 3 |
| Lines | 9 |
| Ratio | 100 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | public function register() |
||
| 18 | { |
||
| 19 | // This service provider is a convenient place to register your modules |
||
| 20 | // services in the IoC container. If you wish, you may make additional |
||
| 21 | // methods or service providers to keep the code more focused and granular. |
||
| 22 | App::register('App\Modules\Reporting\Providers\RouteServiceProvider'); |
||
| 23 | |||
| 24 | $this->registerNamespaces(); |
||
| 25 | } |
||
| 26 | |||
| 40 |
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.