Commit 72ee793
authored
APCU: use ttl of 0 when passed null (#250)
* APCU: use ttl of 0 when passed null
Under PHP 8.1 alpha builds, a deprecation warning about invalid `$ttl` is emitted when `null` is passed:
```
PHP Deprecated: apcu_store(): Passing null to parameter #3 ($ttl) of type int is deprecated in /var/www/html/vendor/cache/apcu-adapter/ApcuCachePool.php on line 88
```
This change fixes the issue.
* Remove trailing whitespace from GH editor1 parent 472199b commit 72ee793
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
88 | 92 | | |
89 | 93 | | |
90 | 94 | | |
| |||
0 commit comments