Skip to content

Commit c73e7ec

Browse files
authored
Remove null limitation
1 parent ac41d8b commit c73e7ec

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

README.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -104,17 +104,8 @@ setting()->forget('App.siteName');
104104

105105
The following are known limitations of the library:
106106

107-
1. Using the `setting()` helper method does not support setting a `null` value on a property. For most cases, you are
108-
better off forgetting the value or setting it to an empty string. If you need to, you can set it by grabbing
109-
the service and using the `set()` method:
110-
111-
```php
112-
service('settings')->set('App.siteName', null);
113-
setting()->set('App.siteName', null);
114-
```
115-
116-
2. You can currently only store a single setting at a time. While the `DatabaseHandler` uses a local cache to
107+
1. You can currently only store a single setting at a time. While the `DatabaseHandler` uses a local cache to
117108
keep performance as high as possible for reads, writes must be done one at a time.
118-
3. You can only access the first level within a property directly. In most config classes this is a non-issue,
109+
2. You can only access the first level within a property directly. In most config classes this is a non-issue,
119110
since the properties are simple values. Some config files, like the `database` file, contain properties that
120111
are arrays.

0 commit comments

Comments
 (0)