Code Duplication    Length = 3-3 lines in 2 locations

forms/RequiredFields.php 1 location

@@ 25-27 (lines=3) @@
22
	 */
23
	public function __construct() {
24
		$required = func_get_args();
25
		if(isset($required[0]) && is_array($required[0])) {
26
			$required = $required[0];
27
		}
28
		if(!empty($required)) {
29
			$this->required = ArrayLib::valuekey($required);
30
		} else {

security/Member.php 1 location

@@ 1812-1814 (lines=3) @@
1809
	public function __construct() {
1810
		$required = func_get_args();
1811
1812
		if(isset($required[0]) && is_array($required[0])) {
1813
			$required = $required[0];
1814
		}
1815
1816
		$required = array_merge($required, $this->customRequired);
1817