@@ -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 |
@@ -59,7 +59,7 @@ |
||
59 | 59 | string $dataType = self::DATATYPE_JSON, |
60 | 60 | string $outputsize = self::OUTPUTSIZE_COMPACT |
61 | 61 | ) { |
62 | - if (!in_array($outputsize, [self::OUTPUTSIZE_COMPACT, self::OUTPUTSIZE_FULL], true)) { |
|
62 | + if (!in_array($outputsize, [ self::OUTPUTSIZE_COMPACT, self::OUTPUTSIZE_FULL ], true)) { |
|
63 | 63 | throw new InvalidArgumentException('Invalid outputsize given, valid values are: full, compact'); |
64 | 64 | } |
65 | 65 |