Commit 5932063
Update SimpleCacheAdapter.php (#60)
When using `SimpleCacheAdapter` with the Laravel Redis cache adapter, the method `getIdWithHash` tries to return the string representation of the value in the store directly. Giving the following exception ```Symfony\Component\Debug\Exception\FatalThrowableError with message 'Return value of FlixTech\SchemaRegistryApi\Registry\Cache\SimpleCacheAdapter::getIdWithHash() must be of the type int or null, string returned'```
Co-authored-by: Thomas Ploch <profiploch@gmail.com>1 parent 9810ab2 commit 5932063
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
81 | 86 | | |
82 | 87 | | |
83 | 88 | | |
| |||
0 commit comments