comparison program/lib/Roundcube/rcube_result_index.php @ 17:dd5ed6ef69c9

Slowly cleaning up more php8 Warnings/deprecations
author Charlie Root
date Mon, 06 Oct 2025 12:20:32 -0400
parents 3a5f959af5ae
children 303b85d5b561
comparison
equal deleted inserted replaced
16:1866b439e6d3 17:dd5ed6ef69c9
152 * 152 *
153 * @return int Number of elements 153 * @return int Number of elements
154 */ 154 */
155 public function count() 155 public function count()
156 { 156 {
157 if ($this->meta['count'] !== null) 157 if (($this->meta['count']??null) !== null)
158 return $this->meta['count']; 158 return $this->meta['count'];
159 159
160 if (empty($this->raw_data)) { 160 if (empty($this->raw_data)) {
161 $this->meta['count'] = 0; 161 $this->meta['count'] = 0;
162 $this->meta['length'] = 0; 162 $this->meta['length'] = 0;