|
@@ -90,7 +90,7 @@ discard block |
|
|
block discarded – undo |
|
90
|
90
|
self::TYPE_VIDEO, |
|
91
|
91
|
]; |
|
92
|
92
|
|
|
93
|
|
- if (! in_array($typeId, $allowedType, true)) { |
|
|
93
|
+ if (!in_array($typeId, $allowedType, true)) { |
|
94
|
94
|
throw new \InvalidArgumentException("Invalid typeId : ${typeId}, allowed typeId are " . implode(', ', $allowedType)); |
|
95
|
95
|
} |
|
96
|
96
|
|
|
@@ -116,7 +116,7 @@ discard block |
|
|
block discarded – undo |
|
116
|
116
|
self::CATEGORY_E_SPORTS |
|
117
|
117
|
]; |
|
118
|
118
|
|
|
119
|
|
- if (! in_array($categoryId, $allowedCategory, true)) { |
|
|
119
|
+ if (!in_array($categoryId, $allowedCategory, true)) { |
|
120
|
120
|
throw new \InvalidArgumentException("Invalid categoryId : ${categoryId}, allowed category are " . implode(', ', $allowedCategory)); |
|
121
|
121
|
} |
|
122
|
122
|
|
Please login to merge, or discard this patch.