implement php 8.0 types

This commit is contained in:
Dennis Eichhorn 2020-12-03 22:40:21 +01:00
parent 7b6d0d4320
commit b25503d32b

View File

@ -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;
} }