Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
11 | public function show(Request $request, $slug = '/') { |
||
|
|||
12 | config(['storyblok.edit_mode' => true]); |
||
13 | |||
14 | $page = Storyblok::setData($request->get('data')['story'])->render(); |
||
15 | $dom = new HTML5DOMDocument(); |
||
16 | $dom->loadHTML($page); |
||
17 | |||
18 | return $dom->querySelector(config('storyblok.live-element'))->innerHTML; |
||
19 | } |
||
21 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.