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.
1 parent 800ecf9 commit feab6bfCopy full SHA for feab6bf
src/Data.php
@@ -28,7 +28,7 @@ public function __construct(iterable $attributes = [])
28
*/
29
public function set(string $key, mixed $value): static
30
{
31
- data_set($this->attributes, $key, $value);
+ Arr::set($this->attributes, $key, $value);
32
33
return $this;
34
}
@@ -38,7 +38,7 @@ public function set(string $key, mixed $value): static
38
39
public function get(string $key, mixed $default = null): mixed
40
41
- return data_get($this->attributes, $key, $default);
+ return Arr::get($this->attributes, $key, $default);
42
43
44
/**
0 commit comments