Skip to content

Commit

Permalink
Allow for custom iTipBroker
Browse files Browse the repository at this point in the history
Signed-off-by: SebastianKrupinski <[email protected]>
  • Loading branch information
SebastianKrupinski committed Aug 22, 2024
1 parent a38eb81 commit cd9edc4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/CalDAV/Schedule/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
use Sabre\VObject;
use Sabre\VObject\Component\VCalendar;
use Sabre\VObject\ITip;
use Sabre\VObject\ITip\Broker;
use Sabre\VObject\ITip\Message;
use Sabre\VObject\Reader;

Expand Down Expand Up @@ -1000,8 +1001,8 @@ public function getPluginInfo()
*
* @return Broker
*/
protected function createITipBroker()
protected function createITipBroker(): Broker
{
return new ITip\Broker();
return new Broker();
}
}

0 comments on commit cd9edc4

Please sign in to comment.