mirror of
https://github.com/Karaka-Management/oms-Auditor.git
synced 2026-02-16 05:28:43 +00:00
implement php 8.0 types
This commit is contained in:
parent
7b6d0d4320
commit
b25503d32b
|
|
@ -96,7 +96,7 @@ final class AuditMapper extends DataMapperAbstract
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public static function delete($obj, int $relations = RelationType::REFERENCE)
|
public static function delete($obj, int $relations = RelationType::REFERENCE) : mixed
|
||||||
{
|
{
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
@ -104,7 +104,7 @@ final class AuditMapper extends DataMapperAbstract
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public static function update($obj, int $relations = RelationType::ALL, int $depth = 3)
|
public static function update($obj, int $relations = RelationType::ALL, int $depth = 3) : mixed
|
||||||
{
|
{
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
@ -112,7 +112,7 @@ final class AuditMapper extends DataMapperAbstract
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public static function updateArray(array &$obj, int $relations = RelationType::ALL, int $depth = 1)
|
public static function updateArray(array &$obj, int $relations = RelationType::ALL, int $depth = 1) : mixed
|
||||||
{
|
{
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user