Bug #6005 ยป ObjectAccess.diff

Karsten Dambekalns, 2010-01-13 16:51

View differences:

ObjectAccess.php Locally Modified (Based On LOCAL)
72 72
		} elseif (array_key_exists($propertyName, get_object_vars($subject))) {
73 73
			return $subject->$propertyName;
74 74
		}
75
		return NULL;
75

  
76
		throw new \RuntimeException('The property "' . $propertyName . '" on the subject was not accessible.', 1263391473);
76 77
	}
77 78

  
78 79
	/**
......
124 125
		} else {
125 126
			return FALSE;
126 127
		}
127
		return TRUE;
128 128
	}
129 129

  
130 130
	/**
    (1-1/1)