From ae1f94dc7f5f397313f50ec3c7e60d2ebe0c4c7e Mon Sep 17 00:00:00 2001 From: Alban Jubert Date: Mon, 10 Sep 2018 17:50:50 +0200 Subject: [PATCH] Fix readme typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 29dc2f4..d6c2d88 100644 --- a/README.md +++ b/README.md @@ -288,8 +288,8 @@ Get old relations values ------------------------ To retrieve relations value prior to there most recent modification until the model is saved, you can use: -* `getOldAttribute($name)` method: Get a named relation old value. -* `getOldAttribute()` method: Get an array of relations index by there name with there old values. +* `getOldRelation($name)` method: Get a named relation old value. +* `getOldRelations()` method: Get an array of relations index by there name with there old values. > **Notes** > * If a relation has not been modified yet, its initial value will be returned