Code Duplication    Length = 7-7 lines in 2 locations

Ubiquity/orm/parser/Reflexion.php 1 location

@@ 204-210 (lines=7) @@
201
		return $result;
202
	}
203
	
204
	public static function getAllJoinTables($models){
205
		$result=[];
206
		foreach ($models as $model){
207
			$result=array_merge($result,self::getJoinTables($model));
208
		}
209
		return $result;
210
	}
211
}
212

Ubiquity/orm/OrmUtils.php 1 location

@@ 82-88 (lines=7) @@
79
		return $result;
80
	}
81
	
82
	public static function getAllJoinTables($models){
83
		$result=[];
84
		foreach ($models as $model){
85
			$result=array_merge($result,self::getJoinTables($model));
86
		}
87
		return $result;
88
	}
89
90
	public static function getKeyFieldsAndValues($instance) {
91
		$kf=self::getAnnotationInfo(get_class($instance), "#primaryKeys");