← All changes
|
vendor/wpfluent/framework/src/WPFluent/Http/URL.php
+3
-1
2.4.01
→
2.10.01
View file →
| @@ -298,12 +298,14 @@ | ||
| 298 | 298 | } |
| 299 | 299 | |
| 300 | 300 | /** |
| 301 | 301 | * Generate a URL from a file path. |
| 302 | - * | |
| 302 | + * | |
| 303 | 303 | * @param string $path |
| 304 | 304 | * @param bool $checkFile Whether to check if the file exists |
| 305 | 305 | * @return string |
| 306 | + * | |
| 307 | + * @phpstan-ignore-next-line | |
| 306 | 308 | */ |
| 307 | 309 | public function fromFile(string $path, bool $checkFile = false): string |
| 308 | 310 | { |
| 309 | 311 | return Util::pathToUrl($path, $checkFile); |