| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public function Create(Application $app, Request $request) { |
||
| 20 | $draft_id = $request->get('draft_id'); |
||
| 21 | $draft = $app['phpdraft.DraftRepository']->Load($draft_id); |
||
| 22 | |||
| 23 | $stats = $app['phpdraft.DraftStatsRepository']->CalculateDraftStatistics($draft); |
||
| 24 | |||
| 25 | return $app->json($stats); |
||
| 26 | } |
||
| 27 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.