src/Listify.php
public function decrementPosition($count = 1)
    {
        if ($this->isNotInList()) return $this;

        $newPosition = $this->getListifyPosition() - $count;

        if ($newPosition < $this->listifyTop()) {
            $newPosition = $this->listifyTop();
        }

        $this->setListifyPosition($newPosition);

        return $this;
    }
public function decrementPosition($count = 1)
    {
        if ($this->isNotInList()) return $this;

        $newPosition = $this->getListifyPosition() - $count;

        if ($newPosition < $this->listifyTop()) {
            $newPosition = $this->listifyTop();
        }

        $this->setListifyPosition($newPosition);

        return $this;
    }
public function decrementPosition ( $ count = 1 ) { if ( $ this -> isNotInList ( ) ) return $ this ; $ newPosition = $ this -> getListifyPosition ( ) - $ count ; if ( $ newPosition < $ this -> listifyTop ( ) ) { $ newPosition = $ this -> listifyTop ( ) ; } $ this -> setListifyPosition ( $ newPosition ) ; return $ this ; }
Decrease the position of the record without affecting other record positions.

@param integer $count default 1
@return $this
Decrease the position of the record without affecting other record positions .