Skip to content

Commit

Permalink
Update oca-analytics-idatasource.php
Browse files Browse the repository at this point in the history
Signed-off-by: Rello <[email protected]>
  • Loading branch information
Rello authored Jun 27, 2024
1 parent 38646cb commit 7a02d7b
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tests/stubs/oca-analytics-idatasource.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@

// reference for: use OCA\Analytics\Datasource\DatasourceEvent;
namespace OCA\Analytics\Datasource {
class DatasourceEvent extends \OCP\EventDispatcher\Event {
abstract public function registerDatasource(string $datasource): void {
}
abstract public function getDataSources(): array {
}
}
use OCP\EventDispatcher\Event;

interface DatasourceEvent extends Event {
public function registerDatasource(string $datasource): void;
public function getDataSources(): array;
}
interface IDatasource {
public function getName(): string;
public function getId(): int;
Expand Down

0 comments on commit 7a02d7b

Please sign in to comment.