Make WordPress Core


Ignore:
Timestamp:
12/03/2020 05:39:03 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Upgrade/Install: Update sodium_compat to v1.14.0.

This includes improved PHP 8 support and more inclusive language.

A full list of changes in this update can be found on GitHub:
https://github.com/paragonie/sodium_compat/compare/v1.13.0...v1.14.0

Follow-up to [48121], [49056], [49057].

Props jrf.
Fixes #51925.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/sodium_compat/src/PHP52/SplFixedArray.php

    r46858 r49741  
    103103    public function offsetGet($index)
    104104    {
     105        /** @psalm-suppress MixedReturnStatement */
    105106        return $this->internalArray[(int) $index];
    106107    }
     
    143144    public function current()
    144145    {
     146        /** @psalm-suppress MixedReturnStatement */
    145147        return current($this->internalArray);
    146148    }
Note: See TracChangeset for help on using the changeset viewer.