← All changes
|
src/Framework/Support/Facades/Scripts/ScriptAsset.php
+5
-4
4.16.7
→
4.17.0
View file →
| @@ -4,13 +4,14 @@ | ||
| 4 | 4 | |
| 5 | 5 | use Give\Framework\Support\Facades\Facade; |
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | + * @since 4.17.0 Correct the @method annotations so static analysis resolves the return types | |
| 8 | 9 | * @since 2.32.0 |
| 9 | - * | |
| 10 | - * @method static get(string $path): array | |
| 11 | - * @method static getVersion(string $path): int|string | |
| 12 | - * @method static getDependencies(string $path): array | |
| 10 | + * | |
| 11 | + * @method static array{dependencies: array<string>, version: int|string} get(string $path) | |
| 12 | + * @method static int|string getVersion(string $path) | |
| 13 | + * @method static array<string> getDependencies(string $path) | |
| 13 | 14 | */ |
| 14 | 15 | class ScriptAsset extends Facade |
| 15 | 16 | { |
| 16 | 17 | protected function getFacadeAccessor(): string |