mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-01-11 17:08:40 +00:00
fix static analysis
This commit is contained in:
parent
19e131493d
commit
b0d89e9afc
3
.github/user_feature_request.md
vendored
3
.github/user_feature_request.md
vendored
|
|
@ -8,11 +8,14 @@ assignees: ''
|
|||
---
|
||||
|
||||
# What is the feature you request
|
||||
|
||||
* A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
* A clear and concise description of what you want to happen.
|
||||
|
||||
# Alternatives
|
||||
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
# Additional Information
|
||||
|
||||
Add any other context or screenshots about the feature request here.
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ final class CollectionMapper extends MediaMapper
|
|||
/**
|
||||
* Model to use by the mapper.
|
||||
*
|
||||
* @var class-string
|
||||
* @var class-string<T>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const MODEL = Collection::class;
|
||||
|
|
|
|||
|
|
@ -23,6 +23,9 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
|||
* @license OMS License 2.0
|
||||
* @link https://jingga.app
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @template T of MediaContent
|
||||
* @extends DataMapperFactory<T>
|
||||
*/
|
||||
class MediaContentMapper extends DataMapperFactory
|
||||
{
|
||||
|
|
@ -40,7 +43,7 @@ class MediaContentMapper extends DataMapperFactory
|
|||
/**
|
||||
* Model to use by the mapper.
|
||||
*
|
||||
* @var class-string
|
||||
* @var class-string<T>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const MODEL = MediaContent::class;
|
||||
|
|
|
|||
|
|
@ -26,6 +26,9 @@ use phpOMS\DataStorage\Database\Mapper\ReadMapper;
|
|||
* @license OMS License 2.0
|
||||
* @link https://jingga.app
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @template T of Media
|
||||
* @extends DataMapperFactory<T>
|
||||
*/
|
||||
class MediaMapper extends DataMapperFactory
|
||||
{
|
||||
|
|
@ -113,7 +116,7 @@ class MediaMapper extends DataMapperFactory
|
|||
/**
|
||||
* Model to use by the mapper.
|
||||
*
|
||||
* @var class-string
|
||||
* @var class-string<T>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const MODEL = Media::class;
|
||||
|
|
|
|||
|
|
@ -24,6 +24,9 @@ use phpOMS\Localization\BaseStringL11n;
|
|||
* @license OMS License 2.0
|
||||
* @link https://jingga.app
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @template T of BaseStringL11n
|
||||
* @extends DataMapperFactory<T>
|
||||
*/
|
||||
final class MediaTypeL11nMapper extends DataMapperFactory
|
||||
{
|
||||
|
|
@ -59,7 +62,7 @@ final class MediaTypeL11nMapper extends DataMapperFactory
|
|||
/**
|
||||
* Model to use by the mapper.
|
||||
*
|
||||
* @var class-string
|
||||
* @var class-string<T>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const MODEL = BaseStringL11n::class;
|
||||
|
|
|
|||
|
|
@ -23,6 +23,9 @@ use phpOMS\DataStorage\Database\Mapper\DataMapperFactory;
|
|||
* @license OMS License 2.0
|
||||
* @link https://jingga.app
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @template T of MediaType
|
||||
* @extends DataMapperFactory<T>
|
||||
*/
|
||||
final class MediaTypeMapper extends DataMapperFactory
|
||||
{
|
||||
|
|
@ -57,7 +60,7 @@ final class MediaTypeMapper extends DataMapperFactory
|
|||
/**
|
||||
* Model to use by the mapper.
|
||||
*
|
||||
* @var class-string
|
||||
* @var class-string<T>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const MODEL = MediaType::class;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user