protected function isClosure(File $phpcsFile, $stackPtr) {
		return $phpcsFile->findPrevious(
			[T_CLOSURE],
			$stackPtr - 1,
			null,
			false,
			null,
			true
		);
	}
protected function isClosure(File $phpcsFile, $stackPtr) {
		return $phpcsFile->findPrevious(
			[T_CLOSURE],
			$stackPtr - 1,
			null,
			false,
			null,
			true
		);
	}
protected function isClosure ( File $ phpcsFile , $ stackPtr ) { return $ phpcsFile -> findPrevious ( [ T_CLOSURE ] , $ stackPtr - 1 , null , false , null , true ) ; }
Check if the current stackPtr is a use token that is for a closure.

@param \PHP_CodeSniffer\Files\File $phpcsFile
@param int $stackPtr
@return bool
Check if the current stackPtr is a use token that is for a closure .