fix type hint
This commit is contained in:
parent
54801bed21
commit
154b5e96ee
1 changed files with 4 additions and 1 deletions
|
@ -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 a new issue