1 | <?php |
||
8 | class Link extends BaseLink |
||
9 | { |
||
10 | use Macroable; |
||
11 | |||
12 | /** |
||
13 | * @param string $path |
||
14 | * @param string $text |
||
15 | * @param array $parameters |
||
16 | * @param bool|null $secure |
||
17 | * |
||
18 | * @return $this |
||
19 | */ |
||
20 | public static function url(string $path, string $text, $parameters = [], $secure = null) |
||
24 | |||
25 | /** |
||
26 | * @param string $action |
||
27 | * @param string $text |
||
28 | * @param array $parameters |
||
29 | * @param bool $absolute |
||
30 | * |
||
31 | * @return $this |
||
32 | */ |
||
33 | public static function action(string $action, string $text, $parameters = [], $absolute = true) |
||
37 | |||
38 | /** |
||
39 | * @param string $name |
||
40 | * @param string $text |
||
41 | * @param array $parameters |
||
42 | * @param bool $absolute |
||
43 | * @param \Illuminate\Routing\Route|null $route |
||
44 | * |
||
45 | * @return $this |
||
46 | */ |
||
47 | public static function route(string $name, string $text, $parameters = [], $absolute = true, $route = null) |
||
51 | } |
||
52 |
This check looks at variables that are passed out again to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.