| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function register(): void |
||
| 16 | { |
||
| 17 | // Register the pipeline as a singleton |
||
| 18 | $this->app->singleton(CategorizationPipeline::class, function ($app) { |
||
|
|
|||
| 19 | return CategorizationPipeline::createDefault(); |
||
| 20 | }); |
||
| 21 | |||
| 22 | // Alias for easier access |
||
| 23 | $this->app->alias(CategorizationPipeline::class, 'categorization'); |
||
| 24 | } |
||
| 35 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.