src/Sms.php
private function checkAttempts($code)
	{
		$maxAttempts = config('ibrand.sms.code.maxAttempts');

		if ($code->expireAt > Carbon::now() && $code->attempts < $maxAttempts) {
			return false;
		}

		return true;
	}
private function checkAttempts($code)
	{
		$maxAttempts = config('ibrand.sms.code.maxAttempts');

		if ($code->expireAt > Carbon::now() && $code->attempts < $maxAttempts) {
			return false;
		}

		return true;
	}
private function checkAttempts ( $ code ) { $ maxAttempts = config ( 'ibrand.sms.code.maxAttempts' ) ; if ( $ code -> expireAt > Carbon :: now ( ) && $ code -> attempts < $ maxAttempts ) { return false ; } return true ; }
Check attempt times.

@param $code

@return bool
Check attempt times .