Code Duplication    Length = 3-3 lines in 2 locations

dist/jate/modules/Module/Module.php 2 locations

@@ 64-66 (lines=3) @@
61
		}
62
		protected function getRequire( $_function, $_extenction) {
63
			$temp = [];
64
			foreach ($this->required as $i)
65
				if (!is_array($i) && strpos($i, $_extenction) !== FALSE)
66
					array_push($temp,$i);
67
			foreach ($this->modules as $i)
68
				$temp = array_merge( $temp, $i->$_function() );
69
			foreach ($this->files as $i)
@@ 69-71 (lines=3) @@
66
					array_push($temp,$i);
67
			foreach ($this->modules as $i)
68
				$temp = array_merge( $temp, $i->$_function() );
69
			foreach ($this->files as $i)
70
				if (!is_array($i) && strpos($i, $_extenction) !== FALSE)
71
					array_push($temp,$i);
72
			return $temp;
73
		}
74
	}