src/Services/LikeableService.php
public function decrementDislikesCount(LikeableContract $likeable)
    {
        $counter = $likeable->dislikesCounter()->first();

        if (!$counter) {
            return;
        }

        $counter->decrement('count');
    }
public function decrementDislikesCount(LikeableContract $likeable)
    {
        $counter = $likeable->dislikesCounter()->first();

        if (!$counter) {
            return;
        }

        $counter->decrement('count');
    }
public function decrementDislikesCount ( LikeableContract $ likeable ) { $ counter = $ likeable -> dislikesCounter ( ) -> first ( ) ; if ( ! $ counter ) { return ; } $ counter -> decrement ( 'count' ) ; }
Decrement the total dislike count stored in the counter.

@param \Cog\Likeable\Contracts\Likeable $likeable
@return void
Decrement the total dislike count stored in the counter .