Code Duplication    Length = 3-3 lines in 2 locations

lib/Cake/Model/Model.php 2 locations

@@ 2029-2031 (lines=3) @@
2026
 * @return void
2027
 */
2028
	public function updateCounterCache($keys = array(), $created = false) {
2029
		if (empty($keys) && isset($this->data[$this->alias])) {
2030
			$keys = $this->data[$this->alias];
2031
		}
2032
		$keys['old'] = isset($keys['old']) ? $keys['old'] : array();
2033
2034
		foreach ($this->belongsTo as $parent => $assoc) {
@@ 3406-3408 (lines=3) @@
3403
			return $this->id;
3404
		}
3405
3406
		if (isset($this->id[$list]) && !empty($this->id[$list])) {
3407
			return $this->id[$list];
3408
		}
3409
3410
		if (isset($this->id[$list])) {
3411
			return false;