diff --git a/src/Appwrite/Specification/Format/OpenAPI3.php b/src/Appwrite/Specification/Format/OpenAPI3.php index 10518276cb..b067a449db 100644 --- a/src/Appwrite/Specification/Format/OpenAPI3.php +++ b/src/Appwrite/Specification/Format/OpenAPI3.php @@ -418,9 +418,11 @@ class OpenAPI3 extends Format // Do not add the enum $allowed = true; foreach ($this->enumBlacklist as $blacklist) { - if ($blacklist['namespace'] == $route->getLabel('sdk.namespace', '') - && $blacklist['method'] == $route->getLabel('sdk.method', '') - && $blacklist['parameter'] == $name) { + if ( + $blacklist['namespace'] == $route->getLabel('sdk.namespace', '') + && $blacklist['method'] == $route->getLabel('sdk.method', '') + && $blacklist['parameter'] == $name + ) { $allowed = false; break; }