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

Created on 28 February 2024, 4 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

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024