Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
16 | public static function createFromPrevious(JsonResponse $jsonResponse, array $data) { |
||
17 | $profiling = new ProfilingJsonResponse($jsonResponse->data, $jsonResponse->success, $jsonResponse->total, $jsonResponse->pages, $jsonResponse->message); |
||
|
|||
18 | $profiling->setProfile($data); |
||
19 | return $profiling; |
||
20 | } |
||
21 | } |
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.