Total Complexity | 3 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
7 | trait InteractsWithRedirectionForm |
||
8 | { |
||
9 | /** |
||
10 | * Set view path of redirection form. |
||
11 | * |
||
12 | * @param string $path |
||
13 | * |
||
14 | * @return void |
||
15 | */ |
||
16 | public static function setRedirectionFormViewPath(string $path) |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * Retrieve default view path of redirection form. |
||
23 | * |
||
24 | * @param string $path |
||
25 | * |
||
26 | * @return void |
||
27 | */ |
||
28 | public static function getRedirectionFormDefaultViewPath(string $path) : string |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * Retrieve current view path of redirection form. |
||
35 | * |
||
36 | * @param string $path |
||
37 | * |
||
38 | * @return void |
||
39 | */ |
||
40 | public static function getRedirectionFormViewPath(string $path) : string |
||
45 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.