Here is my code, dailyquotes
event has 2 arguments and so does return statement, then why the error?
pragma solidity >0.7.0 < 0.9.0;
// SPDX-License-Identifier: open
contract Letscode{
struct dailyquote{
string today;
uint luckynumber;
}
event dailyquotes(uint luckynumber, string today);
function listinfo() public returns(uint256, string memory) {
emit dailyquotes(7 , 'love in the air');
return dailyquotes;
}
}