Skip to content

Commit 2937cce

Browse files
committed
make protected
1 parent 9f31228 commit 2937cce

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,13 +1193,11 @@ public function getOriginal($key = null, $default = null)
11931193
/**
11941194
* Get the model's original attribute values.
11951195
*
1196-
* This should not be called by the end user / developer.
1197-
*
11981196
* @param string|null $key
11991197
* @param mixed $default
12001198
* @return mixed|array
12011199
*/
1202-
public function getOriginalWithoutRewindingModel($key = null, $default = null)
1200+
protected function getOriginalWithoutRewindingModel($key = null, $default = null)
12031201
{
12041202
if ($key) {
12051203
return $this->transformModelValue(

0 commit comments

Comments
 (0)