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

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