Skip to content

Commit

Permalink
add missing types
Browse files Browse the repository at this point in the history
  • Loading branch information
Baptouuuu committed Oct 21, 2023
1 parent cb9a0ee commit d4a1b29
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion properties/Content.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,18 @@

namespace Properties\Innmind\Filesystem;

use Innmind\BlackBox\Set;
use Innmind\Filesystem\File\Content as Model;
use Innmind\BlackBox\{
Set,
Property,
Properties,
};

final class Content
{
/**
* @return Set<Properties>
*/
public static function properties(): Set
{
return Set\Properties::any(
Expand All @@ -17,6 +25,9 @@ public static function properties(): Set
);
}

/**
* @return class-string<Property<Model>>
*/
public static function all(): array
{
return [
Expand Down

0 comments on commit d4a1b29

Please sign in to comment.