From 68601c5dc2407d465f3181dbf748dc7e2d89b3d9 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Mon, 14 Aug 2023 19:35:18 -0400 Subject: [PATCH] FIx lint --- src/Appwrite/Specification/Format/OpenAPI3.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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; }