src/BitSet.php
public function set($pos, $value){
		
		if(!\is_bool($value)){
			throw new \InvalidArgumentException('$value is not a bool');
		}
		
		$this->offsetSet($pos, $value);
		
	}
public function set($pos, $value){
		
		if(!\is_bool($value)){
			throw new \InvalidArgumentException('$value is not a bool');
		}
		
		$this->offsetSet($pos, $value);
		
	}
public function set ( $ pos , $ value ) { if ( ! \ is_bool ( $ value ) ) { throw new \ InvalidArgumentException ( '$value is not a bool' ) ; } $ this -> offsetSet ( $ pos , $ value ) ; }
Sets a specific bit
@param int $pos
@param bool $value
Sets a specific bit