Code Duplication    Length = 7-7 lines in 2 locations

Ajax/semantic/html/collections/HtmlGrid.php 1 location

@@ 48-54 (lines=7) @@
45
	 * @param int $numCols
46
	 * @return \Ajax\semantic\html\collections\HtmlGrid
47
	 */
48
	public function setNumRows($numRows,$numCols=NULL){
49
		$count=$this->count();
50
		for($i=$count;$i<$numRows;$i++){
51
			$this->addItem($numCols);
52
		}
53
		return $this;
54
	}
55
56
	public function setNumCols($numCols){
57
		$count=$this->count();

Ajax/semantic/html/content/HtmlGridRow.php 1 location

@@ 63-69 (lines=7) @@
60
		return $this->getItem($index);
61
	}
62
63
	public function setNumCols($numCols){
64
		$count=$this->count();
65
		for($i=$count;$i<$numCols;$i++){
66
			$this->addItem(null);
67
		}
68
		return $this;
69
	}
70
71
	/**
72
	 * stretch the row contents to take up the entire column height