| @@ -91,7 +91,7 @@ | ||
| 91 | 91 | ); | 
| 92 | 92 | } | 
| 93 | 93 | |
| 94 | -        if (!in_array($outputsize, [self::OUTPUTSIZE_COMPACT, self::OUTPUTSIZE_FULL], true)) { | |
| 94 | +        if (!in_array($outputsize, [ self::OUTPUTSIZE_COMPACT, self::OUTPUTSIZE_FULL ], true)) { | |
| 95 | 95 |              throw new InvalidArgumentException('Invalid outputsize given, valid values are: full, compact'); | 
| 96 | 96 | } | 
| 97 | 97 | |
| @@ -56,7 +56,7 @@ | ||
| 56 | 56 | |
| 57 | 57 | public function __construct(string $function, string $dataType = self::DATATYPE_JSON, string $outputsize = self::OUTPUTSIZE_COMPACT) | 
| 58 | 58 |      { | 
| 59 | -        if (!in_array($outputsize, [self::OUTPUTSIZE_COMPACT, self::OUTPUTSIZE_FULL], true)) { | |
| 59 | +        if (!in_array($outputsize, [ self::OUTPUTSIZE_COMPACT, self::OUTPUTSIZE_FULL ], true)) { | |
| 60 | 60 |              throw new InvalidArgumentException('Invalid outputsize given, valid values are: full, compact'); | 
| 61 | 61 | } | 
| 62 | 62 | |