Skip to content

Commit 6312dcf

Browse files
committed
test(psalm): add stub for ShareLinkAccessedEvent
Signed-off-by: Max <[email protected]>
1 parent 8144281 commit 6312dcf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/stub.phpstub

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,12 @@ namespace OC\Files\Storage\Wrapper{
607607
}
608608
}
609609

610+
namespace OCA\Files_Sharing\Event {
611+
class ShareLinkAccessedEvent extends \OCP\EventDispatcher\Event {
612+
public function __construct(\OCP\Share\IShare $share, string $step = '', int $errorCode = 200, string $errorMessage = '') {}
613+
}
614+
}
615+
610616
namespace OCA\Viewer\Event {
611617
class LoadViewer extends \OCP\EventDispatcher\Event {}
612618
}

0 commit comments

Comments
 (0)