Skip to content

Commit a5c4c53

Browse files
committed
fix: Psalm issue
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 parent a4b7067 commit a5c4c53

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/stub.phpstub

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ interface IContentProvider {
181181
}
182182

183183
class ContentManager {
184-
public function registerContentProvider(string $providerClass);
184+
public function registerContentProvider(string, $appId, string $providerId, string $providerClass);
185185
public function submitContent(string $appId, array $items);
186186
public function deleteContent(string $appId, string $providerId, array $itemIds);
187187
}
@@ -200,7 +200,7 @@ class ContentItem {
200200
}
201201

202202
namespace OCA\ContextChat\Event {
203-
class ContentProviderRegisterEvent {
203+
class ContentProviderRegisterEvent extends \OCP\EventDispatcher\Event {
204204
public function registerContentProvider(string $appId, string $provider, string $class);
205205
}
206206
}

0 commit comments

Comments
 (0)