Code Duplication    Length = 7-7 lines in 2 locations

Ajax/semantic/widgets/business/user/FormAccount.php 1 location

@@ 58-64 (lines=7) @@
55
		return $result;
56
	}
57
58
	public static function attachedSegment($identifier,$modelInstance=null){
59
		$result=self::regular($identifier,$modelInstance);
60
		$result->fieldAsMessage("message",["icon"=>"sign in","attached"=>true]);
61
		$result->addWrapper("message",null,"<div class='ui attached segment'>");
62
		$result->addWrapper("error", null,"</div>");
63
		return $result;
64
	}
65
}
66

Ajax/semantic/widgets/business/user/FormLogin.php 1 location

@@ 52-58 (lines=7) @@
49
		return $result;
50
	}
51
52
	public static function attachedSegment($identifier,$modelInstance=null){
53
		$result=self::regular($identifier,$modelInstance);
54
		$result->fieldAsMessage("message",["icon"=>"sign in","attached"=>true]);
55
		$result->addWrapper("message",null,"<div class='ui attached segment'>");
56
		$result->addWrapper("error", null,"</div>");
57
		return $result;
58
	}
59
}
60