Skip to content

Commit 5e97d89

Browse files
author
Fatih Aydın
committed
refactor: Change usages $this->input[$key] to $this->input($key)
1 parent 1e9ff59 commit 5e97d89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Support/ValidatedInput.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public function toArray()
151151
*/
152152
public function __get($name)
153153
{
154-
return $this->input[$name];
154+
return $this->input($name);
155155
}
156156

157157
/**
@@ -206,7 +206,7 @@ public function offsetExists($key): bool
206206
*/
207207
public function offsetGet($key): mixed
208208
{
209-
return $this->input[$key];
209+
return $this->input($key);
210210
}
211211

212212
/**

0 commit comments

Comments
 (0)