comparison core/modules/statistics/src/StatisticsViewsResult.php @ 16:c2387f117808

Routine composer update
author Chris Cannam
date Tue, 10 Jul 2018 15:07:59 +0100
parents 4c8ae668cc8c
children 129ea1e6d783
comparison
equal deleted inserted replaced
15:e200cb7efeb3 16:c2387f117808
21 * @var int 21 * @var int
22 */ 22 */
23 protected $timestamp; 23 protected $timestamp;
24 24
25 public function __construct($total_count, $day_count, $timestamp) { 25 public function __construct($total_count, $day_count, $timestamp) {
26 $this->totalCount = $total_count; 26 $this->totalCount = (int) $total_count;
27 $this->dayCount = $day_count; 27 $this->dayCount = (int) $day_count;
28 $this->timestamp = $timestamp; 28 $this->timestamp = (int) $timestamp;
29 } 29 }
30 30
31 /** 31 /**
32 * Total number of times the entity has been viewed. 32 * Total number of times the entity has been viewed.
33 * 33 *