src/Core/Modification.php
public function setLocation($location)
    {
        if (! is_int($location)) {
            throw new \InvalidArgumentException(
                'Argument 1 must be an int value. Valued passed is of type ' . gettype($location));
        }
        
        $this->location = $location;
    }
public function setLocation($location)
    {
        if (! is_int($location)) {
            throw new \InvalidArgumentException(
                'Argument 1 must be an int value. Valued passed is of type ' . gettype($location));
        }
        
        $this->location = $location;
    }
public function setLocation ( $ location ) { if ( ! is_int ( $ location ) ) { throw new \ InvalidArgumentException ( 'Argument 1 must be an int value. Valued passed is of type ' . gettype ( $ location ) ) ; } $ this -> location = $ location ; }
Sets the location for this modification

@param int $location
The location to set this modification at
@throws \InvalidArgumentException If argument 1 is not of type int
Sets the location for this modification