fixed various errors

This commit is contained in:
2021-05-05 20:42:14 +02:00
parent d5e1f122f7
commit 014b723939
2 changed files with 216 additions and 170 deletions

View File

@ -11,7 +11,7 @@ declare(strict_types = 1);
*/
final class FieldEntry
{
public boolean $required;
public bool $required;
public array $allowedValues;
public array $dependsOn;
public string $remark;
@ -21,7 +21,7 @@ final class FieldEntry
/**
* Function for constructing a new FieldEntry Object.
*
* @param boolean $required True if the field is required.
* @param bool $required True if the field is required.
* @param array $allowedValues Array of allowed values.
* @param array $dependsOn Array of fields the entry depends on.
* @param string $remark String variable.
@ -29,7 +29,7 @@ final class FieldEntry
* @param string $explica String variable
*/
public function __construct(
boolean $required, array $allowedValues,
bool $required, array $allowedValues,
array $dependsOn, string $remark,
string $name_human_readable, string $explica
) {