src/TerminalObject/Dynamic/Animation/Keyframe.php
protected function adjustLines(array $lines, $direction)
    {
        $adjust_method = 'adjust' . ucwords(strtolower($direction))  . 'Lines';

        if (method_exists($this, $adjust_method)) {
            return $this->$adjust_method($lines);
        }

        return $lines;
    }
protected function adjustLines(array $lines, $direction)
    {
        $adjust_method = 'adjust' . ucwords(strtolower($direction))  . 'Lines';

        if (method_exists($this, $adjust_method)) {
            return $this->$adjust_method($lines);
        }

        return $lines;
    }
protected function adjustLines ( array $ lines , $ direction ) { $ adjust_method = 'adjust' . ucwords ( strtolower ( $ direction ) ) . 'Lines' ; if ( method_exists ( $ this , $ adjust_method ) ) { return $ this -> $ adjust_method ( $ lines ) ; } return $ lines ; }
Adjust the array of lines if necessary

@param array $lines
@param string $direction

@return array
Adjust the array of lines if necessary