Code Duplication    Length = 10-10 lines in 2 locations

micro/orm/parser/Reflexion.php 2 locations

@@ 81-90 (lines=10) @@
78
		return $ret;
79
	}
80
81
	public static function getMembersWithAnnotation($class,$annotation){
82
		$props=self::getProperties($class);
83
		$ret=array();
84
		foreach ($props as $prop){
85
			$annot=self::getAnnotationMember($class, $prop->getName(), $annotation);
86
			if($annot!==false)
87
				$ret[]=$prop;
88
		}
89
		return $ret;
90
	}
91
92
	public static function getMembersNameWithAnnotation($class,$annotation){
93
		$props=self::getProperties($class);
@@ 92-101 (lines=10) @@
89
		return $ret;
90
	}
91
92
	public static function getMembersNameWithAnnotation($class,$annotation){
93
		$props=self::getProperties($class);
94
		$ret=array();
95
		foreach ($props as $prop){
96
			$annot=self::getAnnotationMember($class, $prop->getName(), $annotation);
97
			if($annot!==false)
98
				$ret[]=$prop->getName();
99
		}
100
		return $ret;
101
	}
102
103
	public static function isNullable($class,$member){
104
		$ret=self::getAnnotationMember($class,$member,"@column");