mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-30 07:56:05 +00:00
type fixes
This commit is contained in:
@@ -44,7 +44,6 @@ use Espo\Core\{
|
||||
};
|
||||
|
||||
use ICal\ICal;
|
||||
use ICal\Event;
|
||||
|
||||
use Throwable;
|
||||
use stdClass;
|
||||
@@ -85,7 +84,7 @@ class IcsDataLoader implements Loader
|
||||
|
||||
$ical->initString($icsContents);
|
||||
|
||||
/* @var $event Event */
|
||||
/* @var \ICal\Event|null $event */
|
||||
$event = $ical->events()[0] ?? null;
|
||||
|
||||
if ($event === null) {
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
|
||||
namespace Espo\Core\Mail\Event;
|
||||
|
||||
use ICal\Event as U01jmg3Event;
|
||||
use ICal\ICal as U01jmg3ICal;
|
||||
|
||||
use RuntimeException;
|
||||
@@ -38,7 +37,7 @@ class EventFactory
|
||||
{
|
||||
public static function createFromU01jmg3Ical(U01jmg3ICal $ical): Event
|
||||
{
|
||||
/* @var $event U01jmg3Event */
|
||||
/* @var \ICal\Event|null $event */
|
||||
$event = $ical->events()[0] ?? null;
|
||||
|
||||
if (!$event) {
|
||||
|
||||
Reference in New Issue
Block a user