- added more type-hints
- added missing documentation
This commit is contained in:
Roland Häder 2022-06-18 17:09:18 +02:00
parent 7ec07178c8
commit 8ba3f13fae
No known key found for this signature in database
GPG key ID: C82EDE5DDFA0BA77
4 changed files with 43 additions and 52 deletions

View file

@ -44,7 +44,7 @@ class Attach
* @return array field list
* @throws \Exception
*/
private static function getFields()
private static function getFields(): array
{
$allfields = DBStructure::definition(DI::app()->getBasePath(), false);
$fields = array_keys($allfields['attach']['fields']);