Completed
Branch scrutinizer-stuff (56d140)
by Martin
09:56
created
Category
Endpoints/ForeEx.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Endpoints/StockTimeSeries.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.