Skip to content

Commit

Permalink
Annotate the collection generics
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jul 28, 2024
1 parent 94e3f21 commit 21b86a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<section id="hyde-kernel-filesystem-methods">

<!-- Start generated docs for Hyde\Foundation\Concerns\ForwardsFilesystem -->
<!-- Generated by HydePHP DocGen script at 2024-07-28 11:20:12 in 0.11ms -->
<!-- Generated by HydePHP DocGen script at 2024-07-28 12:43:01 in 0.11ms -->

#### `filesystem()`

Expand Down Expand Up @@ -56,7 +56,7 @@ Hyde::pathToRelative(string $path): string
No description provided.

```php
Hyde::assets(): Illuminate\Support\Collection
Hyde::assets(): Collection<string, \Hyde\Support\Filesystem\MediaFile>
```

<!-- End generated docs for Hyde\Foundation\Concerns\ForwardsFilesystem -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public function pathToRelative(string $path): string
return $this->filesystem->pathToRelative($path);
}

/** @return Collection<string, \Hyde\Support\Filesystem\MediaFile> */
public function assets(): Collection
{
return $this->filesystem->assets();
Expand Down

0 comments on commit 21b86a0

Please sign in to comment.