|
11 | 11 |
|
12 | 12 | trait TemplatePathAssertionsTrait |
13 | 13 | { |
14 | | - /** @param mixed $path */ |
15 | | - public function assertTemplatePath($path, TemplatePath $templatePath, ?string $message = null): void |
| 14 | + public function assertTemplatePath(mixed $path, TemplatePath $templatePath, ?string $message = null): void |
16 | 15 | { |
17 | 16 | $message = $message ?: sprintf('Failed to assert TemplatePath contained path %s', (string) $path); |
18 | 17 | self::assertEquals($path, $templatePath->getPath(), $message); |
19 | 18 | } |
20 | 19 |
|
21 | | - /** @param mixed $path */ |
22 | | - public function assertTemplatePathString($path, TemplatePath $templatePath, ?string $message = null): void |
| 20 | + public function assertTemplatePathString(mixed $path, TemplatePath $templatePath, ?string $message = null): void |
23 | 21 | { |
24 | 22 | $message = $message ?: sprintf('Failed to assert TemplatePath casts to string path %s', (string) $path); |
25 | 23 | self::assertEquals($path, (string) $templatePath, $message); |
26 | 24 | } |
27 | 25 |
|
28 | | - /** @param mixed $namespace */ |
29 | | - public function assertTemplatePathNamespace($namespace, TemplatePath $templatePath, ?string $message = null): void |
30 | | - { |
| 26 | + public function assertTemplatePathNamespace( |
| 27 | + mixed $namespace, |
| 28 | + TemplatePath $templatePath, |
| 29 | + ?string $message = null |
| 30 | + ): void { |
31 | 31 | $message = $message ?: sprintf( |
32 | 32 | 'Failed to assert TemplatePath namespace matched %s', |
33 | 33 | var_export($namespace, true) |
|
0 commit comments