src/includes/classes/Core/Utils/Sri.php
public function &checkProcess(string $url, string $sha1)
    {
        if (is_string($sri = &$this->cacheGet('sris', $sha1))) {
            return $sri; // Cached this already.
        } else { // Set in-process cache to `null`.
            $sri = null; // Not in the cache.
            return $sri; // By reference.
        }
    }
public function &checkProcess(string $url, string $sha1)
    {
        if (is_string($sri = &$this->cacheGet('sris', $sha1))) {
            return $sri; // Cached this already.
        } else { // Set in-process cache to `null`.
            $sri = null; // Not in the cache.
            return $sri; // By reference.
        }
    }
Checks for SRI in process.

@since 170211.63148 SRI utils.

@param string $url  URL to get SRI for.
@param string $sha1 SHA-1 hash of URL.

@return string|null SRI hash, else `null`.