Code Duplication    Length = 7-7 lines in 2 locations

micro/orm/OrmUtils.php 2 locations

@@ 24-30 (lines=7) @@
21
		return self::$modelsMetadatas[$className];
22
	}
23
24
	public static function isSerializable($class,$member){
25
		$ret=self::getAnnotationInfo($class,"#notSerializable");
26
		if ($ret!==false)
27
			return \array_search($member, $ret)===false;
28
		else
29
			return true;
30
	}
31
32
	public static function isNullable($class,$member){
33
		$ret=self::getAnnotationInfo($class,"#nullable");
@@ 32-38 (lines=7) @@
29
			return true;
30
	}
31
32
	public static function isNullable($class,$member){
33
		$ret=self::getAnnotationInfo($class,"#nullable");
34
		if ($ret!==false)
35
			return \array_search($member, $ret)!==false;
36
		else
37
			return false;
38
	}
39
40
	public static function getFieldName($class,$member){
41
		$ret=self::getAnnotationInfo($class, "#fieldNames");