mirror of
https://github.com/Karaka-Management/oms-Organization.git
synced 2026-02-03 10:18:40 +00:00
improve array docblock
This commit is contained in:
parent
4da51d3d20
commit
b3da440eb9
|
|
@ -29,7 +29,7 @@ final class DepartmentMapper extends DataMapperAbstract
|
|||
/**
|
||||
* Columns.
|
||||
*
|
||||
* @var array<string, array<string, bool|string>>
|
||||
* @var array<string, array{name:string, type:string, internal:string, autocomplete?:bool, annotations?:array}>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static array $columns = [
|
||||
|
|
@ -45,17 +45,17 @@ final class DepartmentMapper extends DataMapperAbstract
|
|||
/**
|
||||
* Belongs to.
|
||||
*
|
||||
* @var array<string, array<string, string>>
|
||||
* @var array<string, array{mapper:string, self:string}>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static array $belongsTo = [
|
||||
'unit' => [
|
||||
'mapper' => UnitMapper::class,
|
||||
'dest' => 'organization_department_unit',
|
||||
'self' => 'organization_department_unit',
|
||||
],
|
||||
'parent' => [
|
||||
'mapper' => self::class,
|
||||
'dest' => 'organization_department_parent',
|
||||
'self' => 'organization_department_parent',
|
||||
],
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ final class PositionMapper extends DataMapperAbstract
|
|||
/**
|
||||
* Columns.
|
||||
*
|
||||
* @var array<string, array<string, bool|string>>
|
||||
* @var array<string, array{name:string, type:string, internal:string, autocomplete?:bool, annotations?:array}>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static array $columns = [
|
||||
|
|
@ -45,17 +45,17 @@ final class PositionMapper extends DataMapperAbstract
|
|||
/**
|
||||
* Belongs to.
|
||||
*
|
||||
* @var array<string, array<string, string>>
|
||||
* @var array<string, array{mapper:string, self:string}>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static array $belongsTo = [
|
||||
'parent' => [
|
||||
'mapper' => self::class,
|
||||
'dest' => 'organization_position_parent',
|
||||
'self' => 'organization_position_parent',
|
||||
],
|
||||
'department' => [
|
||||
'mapper' => DepartmentMapper::class,
|
||||
'dest' => 'organization_position_department',
|
||||
'self' => 'organization_position_department',
|
||||
],
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ final class UnitMapper extends DataMapperAbstract
|
|||
/**
|
||||
* Columns.
|
||||
*
|
||||
* @var array<string, array<string, bool|string>>
|
||||
* @var array<string, array{name:string, type:string, internal:string, autocomplete?:bool, annotations?:array}>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static array $columns = [
|
||||
|
|
@ -44,13 +44,13 @@ final class UnitMapper extends DataMapperAbstract
|
|||
/**
|
||||
* Belongs to.
|
||||
*
|
||||
* @var array<string, array<string, string>>
|
||||
* @var array<string, array{mapper:string, self:string}>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static array $belongsTo = [
|
||||
'parent' => [
|
||||
'mapper' => self::class,
|
||||
'dest' => 'organization_unit_parent',
|
||||
'self' => 'organization_unit_parent',
|
||||
],
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user