Method getNodeViewsCount returns an array with and object not an integer as expected

Created on 28 February 2024, 10 months ago

Problem/Motivation

As we can checkout out at NodeViewCountRecordsManagerInterface, the getNodeViewsCount should return an integer

Proposed resolution

Change getNodeViewsCount code to return an int and avoid users of the method to do $result[0]->expression.

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇪🇸Spain rcodina Barcelona

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024