Code Duplication    Length = 7-7 lines in 2 locations

Ubiquity/orm/OrmUtils.php 1 location

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

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