mirror of
https://github.com/wallabag/wallabag.git
synced 2025-06-27 16:36:00 +00:00
Fix self deprecation notices
This commit is contained in:
parent
a7f7022229
commit
4ab26a1902
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ use PhpAmqpLib\Message\AMQPMessage;
|
|||
|
||||
class AMQPEntryConsumer extends AbstractConsumer implements ConsumerInterface
|
||||
{
|
||||
public function execute(AMQPMessage $msg)
|
||||
public function execute(AMQPMessage $msg): int|bool
|
||||
{
|
||||
return $this->handleMessage($msg->getBody());
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ use Doctrine\DBAL\Types\JsonType;
|
|||
*/
|
||||
class JsonArrayType extends JsonType
|
||||
{
|
||||
public function convertToPHPValue($value, AbstractPlatform $platform)
|
||||
public function convertToPHPValue($value, AbstractPlatform $platform): mixed
|
||||
{
|
||||
if (null === $value || '' === $value) {
|
||||
return [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue