XBRL-Report-Base.php
public function addValidYear( $year )
	{
		if ( is_array( $year ) )
		{
			$this->validYears += $year;
		}
		elseif ( $year !== null )
		{
			$this->validYears[] = $year;
		}
	}
public function addValidYear( $year )
	{
		if ( is_array( $year ) )
		{
			$this->validYears += $year;
		}
		elseif ( $year !== null )
		{
			$this->validYears[] = $year;
		}
	}
public function addValidYear ( $ year ) { if ( is_array ( $ year ) ) { $ this -> validYears += $ year ; } elseif ( $ year !== null ) { $ this -> validYears [ ] = $ year ; } }
Adds a valid year.  If none are added, all are valid.
@param array[int]|int $year
Adds a valid year . If none are added all are valid .