Code Duplication    Length = 10-10 lines in 2 locations

micro/orm/Reflexion.php 2 locations

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