src/Likeable.php
private function decrementLikeCount()
	{
		$counter = $this->likeCounter()->first();

		if($counter) {
			$counter->count--;
			if($counter->count) {
				$counter->save();
			} else {
				$counter->delete();
			}
		}
	}
private function decrementLikeCount()
	{
		$counter = $this->likeCounter()->first();

		if($counter) {
			$counter->count--;
			if($counter->count) {
				$counter->save();
			} else {
				$counter->delete();
			}
		}
	}
private function decrementLikeCount ( ) { $ counter = $ this -> likeCounter ( ) -> first ( ) ; if ( $ counter ) { $ counter -> count -- ; if ( $ counter -> count ) { $ counter -> save ( ) ; } else { $ counter -> delete ( ) ; } } }
Private. Decrement the total like count stored in the counter
Private . Decrement the total like count stored in the counter