diff options
Diffstat (limited to 'tests/stub.phpstub')
-rw-r--r-- | tests/stub.phpstub | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/tests/stub.phpstub b/tests/stub.phpstub index 8b53b34d..e58a0f07 100644 --- a/tests/stub.phpstub +++ b/tests/stub.phpstub @@ -3,31 +3,40 @@ declare(strict_types=1); namespace OCA\Federation { - class TrustedServers { - public function getServers() {} - public function isTrustedServer($domainWithPort) {} - } + class TrustedServers { + public function getServers() { + } + public function isTrustedServer($domainWithPort) { + } + } } namespace OCA\Viewer\Event { - class LoadViewer extends \OCP\EventDispatcher\Event {} + class LoadViewer extends \OCP\EventDispatcher\Event { + } } namespace Doctrine\DBAL\Platforms { - class SqlitePlatform {} + class SqlitePlatform { + } } namespace OCA\Files_Sharing { + use OCP\Files\Storage\IStorage; use \OCP\Share\IShare; - class SharedStorage { - public function getShare(): IShare {} + + abstract class SharedStorage implements IStorage { + public function getShare(): IShare { + } } } namespace OCA\Files_Sharing\Event { use \OCP\Share\IShare; + class ShareLinkAccessedEvent extends \OCP\EventDispatcher\Event { - public function __construct(IShare $share, string $step = '', int $errorCode = 200, string $errorMessage = '') {} + public function __construct(IShare $share, string $step = '', int $errorCode = 200, string $errorMessage = '') { + } public function getShare(): IShare { } @@ -44,5 +53,6 @@ namespace OCA\Files_Sharing\Event { } class OC_Helper { - public static function getFileTemplateManager() {} + public static function getFileTemplateManager() { + } } |