We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
$this->input[$key]
$this->input($key)
1 parent 1e9ff59 commit 5e97d89Copy full SHA for 5e97d89
src/Illuminate/Support/ValidatedInput.php
@@ -151,7 +151,7 @@ public function toArray()
151
*/
152
public function __get($name)
153
{
154
- return $this->input[$name];
+ return $this->input($name);
155
}
156
157
/**
@@ -206,7 +206,7 @@ public function offsetExists($key): bool
206
207
public function offsetGet($key): mixed
208
209
- return $this->input[$key];
+ return $this->input($key);
210
211
212
0 commit comments