Changeset 62870
- Timestamp:
- 07/28/2026 04:23:21 PM (6 weeks ago)
- Location:
- trunk/tests/phpunit
- Files:
-
- 2 edited
-
includes/object-cache.php (modified) (1 diff)
-
tests/fonts/font-face/wp-font-face-tests-dataset.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/object-cache.php
r62699 r62870 2365 2365 $derived_key = $this->buildKey( $key, $group ); 2366 2366 2367 if ( isset( $this->cache[ $derived_key ] ) ) { 2368 return $this->cache[ $derived_key ]; 2369 } 2370 2371 return false; 2367 return $this->cache[ $derived_key ] ?? false; 2372 2368 } 2373 2369 -
trunk/tests/phpunit/tests/fonts/font-face/wp-font-face-tests-dataset.php
r59260 r62870 309 309 } 310 310 311 if ( isset( $data[ $key ] ) ) { 312 return $data[ $key ]; 313 } 314 315 return $data; 311 return $data[ $key ] ?? $data; 316 312 } 317 313 … … 398 394 } 399 395 400 if ( isset( $data[ $key ] ) ) { 401 return $data[ $key ]; 402 } 403 404 return $data; 396 return $data[ $key ] ?? $data; 405 397 } 406 398 … … 489 481 } 490 482 491 if ( isset( $data[ $key ] ) ) { 492 return $data[ $key ]; 493 } 494 495 return $data; 483 return $data[ $key ] ?? $data; 496 484 } 497 485 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)