Skip to content

Conversation

@stklcode
Copy link
Contributor

We expect all backend methods to implement certain logic. Now we have an interface Cachify_Backend to enforce this. Eliminate the use of call_user_func() and call backend methods directly.

All backends implement this method and it is called unconditionally, so
let's move it to the interface.
The returned value is always parsed to integer, so we can unify the
return type, too.
@stklcode stklcode added this to the 2.5.0 milestone Oct 18, 2025
@stklcode stklcode self-assigned this Oct 18, 2025
We expect all backend methods to implement certain logic. Now we have an
interface to enforce this. Eliminate the use of call_user_func() and
call backend methods directly.
@stklcode stklcode force-pushed the refactor/call_user_func branch from f609481 to bb0b939 Compare October 19, 2025 09:21
@sonarqubecloud
Copy link

@stklcode stklcode merged commit bb0b939 into develop Oct 19, 2025
17 checks passed
@stklcode stklcode deleted the refactor/call_user_func branch October 19, 2025 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants