Code Duplication    Length = 7-7 lines in 2 locations

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

@@ 26-32 (lines=7) @@
23
	 * @param int $width
24
	 * @return \Ajax\semantic\html\content\HtmlGridCol
25
	 */
26
	public function setWidth($width){
27
		if(\is_int($width)){
28
			$width=Wide::getConstants()["W".$width];
29
		}
30
		$this->addToPropertyCtrl("class", $width, Wide::getConstants());
31
		return $this->addToPropertyCtrl("class", "wide",array("wide"));
32
	}
33
34
	/**
35
	 * Defines the coll floating

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

@@ 38-44 (lines=7) @@
35
	 * @param int $width
36
	 * @return \Ajax\semantic\html\content\HtmlGridRow
37
	 */
38
	public function setWidth($width){
39
		if(\is_int($width)){
40
			$width=Wide::getConstants()["W".$width];
41
		}
42
		$this->addToPropertyCtrl("class", $width, Wide::getConstants());
43
		return $this->addToPropertyCtrl("class", "column",array("column"));
44
	}
45
46
	/**
47
	 * return the col at $index