Skip to content

Commit 1c86293

Browse files
committed
Fix lint
1 parent c3fd502 commit 1c86293

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/SDK/Language/Web.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,8 +340,8 @@ public function getFilters(): array
340340
}
341341
return implode("\n", $value);
342342
}, ['is_safe' => ['html']]),
343-
new TwigFilter('caseEnumKey', function($value) {
344-
return $this->toPascalCase($value);
343+
new TwigFilter('caseEnumKey', function ($value) {
344+
return $this->toPascalCase($value);
345345
}),
346346
];
347347
}

tests/languages/apple/Tests.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import Foundation
44
import FoundationNetworking
55
#endif
66
import Appwrite
7+
import AppwriteEnums
78
import AsyncHTTPClient
89
import NIO
910

@@ -114,7 +115,7 @@ class Tests: XCTestCase {
114115
print(error.localizedDescription)
115116
}
116117

117-
mock = try await general.enum(.first)
118+
mock = try await general.xenum(mockType: .first)
118119
print(mock.result)
119120

120121
do {

tests/languages/ruby/tests.rb

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22

33
include Appwrite
44

5-
client = Client.new
6-
client
7-
.add_header('Origin', 'http://localhost')
8-
.set_self_signed()
5+
client = Client.new()
6+
.add_header('Origin', 'http://localhost')
7+
.set_self_signed()
98

109
foo = Foo.new(client)
1110
bar = Bar.new(client)
@@ -83,7 +82,7 @@
8382
puts e
8483
end
8584

86-
response = general.enum(MockType::FIRST)
85+
response = general.enum(mockType: MockType::FIRST)
8786
puts response.result
8887

8988
begin

0 commit comments

Comments
 (0)