Commit 523492f
committed
fix: prevent error when send null to json_decode
This fixed the follow warning:
```
json_decode(): Passing null to parameter #1 ($json) of type string is deprecated at /var/www/html/apps-extra/richdocuments/lib/Service/CapabilitiesService.php#142
```
The method `get` return string|null
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>1 parent 780ca36 commit 523492f
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
142 | 145 | | |
143 | 146 | | |
144 | 147 | | |
0 commit comments