ObjectCalisthenics\Sniffs\Metrics\OneIndentationLevelSniff::unsetScopeIfNotCurrent PHP Method

unsetScopeIfNotCurrent() private method

private unsetScopeIfNotCurrent ( integer $key, array $ignoredScope )
$key integer
$ignoredScope array
    private function unsetScopeIfNotCurrent(int $key, array $ignoredScope)
    {
        if ($ignoredScope['scope_closer'] !== $this->currentPtr) {
            return;
        }
        unset($this->ignoredScopeStack[$key]);
    }