fix type hint
parent
54801bed21
commit
154b5e96ee
|
@ -65,7 +65,10 @@ class ActivityReportActions
|
||||||
'zoneclearFeedServerAfterAddFeed',
|
'zoneclearFeedServerAfterAddFeed',
|
||||||
function (Cursor $cur, int $id): void {
|
function (Cursor $cur, int $id): void {
|
||||||
$user = dcCore::app()->auth?->getInfo('user_cn');
|
$user = dcCore::app()->auth?->getInfo('user_cn');
|
||||||
if (!is_string($user)) {
|
if (!is_string($user)
|
||||||
|
|| !is_string($cur->getField('feed_name'))
|
||||||
|
|| !is_string($cur->getField('feed_feed'))
|
||||||
|
) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$logs = [
|
$logs = [
|
||||||
|
|
Loading…
Reference in New Issue