mirror of
https://github.com/Karaka-Management/oms-Knowledgebase.git
synced 2026-01-21 05:48:42 +00:00
Use global namespace+minor fixes
This commit is contained in:
parent
4836b8fa37
commit
a83dfc8092
|
|
@ -59,6 +59,9 @@ class WikiCategory implements \JsonSerializable
|
|||
$this->parent = $parent;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function jsonSerialize() : array
|
||||
{
|
||||
return [];
|
||||
|
|
|
|||
|
|
@ -127,6 +127,9 @@ class WikiDoc implements \JsonSerializable
|
|||
$this->badges[] = $badge;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function jsonSerialize() : array
|
||||
{
|
||||
return [];
|
||||
|
|
|
|||
|
|
@ -50,7 +50,12 @@ final class WikiDocMapper extends DataMapperAbstract
|
|||
* @var array<string, array<string, null|string>>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
/*
|
||||
/* /**
|
||||
* Has many relation.
|
||||
*
|
||||
* @var array<string, array<string, string>>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static $hasMany = [
|
||||
'badges' => [
|
||||
'mapper' => BadgeMapper::class,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user