Conditions | 2 |
Paths | 2 |
Total Lines | 15 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
27 | public function handle(Command $command): Response |
||
|
|||
28 | { |
||
29 | try { |
||
30 | $this->client->run( |
||
31 | 'MATCH (u:{nodeType} {uuid:{uuid}}), (p:Event {uuid:{parent_uuid}}) CREATE (u)-[:CREATED_FROM]->(p)', |
||
32 | [ |
||
33 | 'uuid' => $boardUuidValue, |
||
34 | 'parent_uuid' => $payload['parent_uuid'] |
||
35 | ] |
||
36 | ); |
||
37 | } catch (Neo4jExceptionInterface $e) { |
||
38 | return Response::fail($e->getMessage()); |
||
39 | } |
||
40 | |||
41 | return Response::ok(); |
||
42 | } |
||
44 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.