| Conditions | 3 | 
| Paths | 3 | 
| Total Lines | 19 | 
| Code Lines | 9 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 48 | private function createDefaultReactionTypes(): void  | 
            ||
| 49 |     { | 
            ||
| 50 | $types = [  | 
            ||
| 51 | [  | 
            ||
| 52 | 'name' => 'Like',  | 
            ||
| 53 | 'weight' => 1,  | 
            ||
| 54 | ],  | 
            ||
| 55 | [  | 
            ||
| 56 | 'name' => 'Dislike',  | 
            ||
| 57 | 'weight' => -1,  | 
            ||
| 58 | ],  | 
            ||
| 59 | ];  | 
            ||
| 60 | |||
| 61 |         foreach ($types as $type) { | 
            ||
| 62 |             if (ReactionType::query()->where('name', $type['name'])->exists()) { | 
            ||
| 63 | continue;  | 
            ||
| 64 | }  | 
            ||
| 65 | |||
| 66 | ReactionType::query()->create($type);  | 
            ||
| 67 | }  | 
            ||
| 70 | 
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.