-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: MetadataRepositoryInterface docs
- Loading branch information
1 parent
9cd2461
commit 56dd411
Showing
1 changed file
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,16 +19,15 @@ | |
/** | ||
* MetadataRepositoryInterface | ||
* | ||
* @template T of MetadataInterface | ||
* @extends ObjectRepository<T> | ||
* @extends ObjectRepository<MetadataInterface> | ||
* | ||
* @author Rogério Lino <[email protected]> | ||
*/ | ||
interface MetadataRepositoryInterface extends ObjectRepository, BaseRepository | ||
{ | ||
/** @return ?T */ | ||
/** @return ?MetadataInterface */ | ||
public function get(string $namespace, string $name): ?MetadataInterface; | ||
|
||
/** @return T */ | ||
/** @return MetadataInterface */ | ||
public function set(string $namespace, string $name, mixed $value = null): MetadataInterface; | ||
} |