Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions inc/session_handler/class-disallowed-session-handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,21 @@ function destroy( string $id ) : bool {
trigger_error( 'PHP Sessions requires Redis integration, which is currently not activated.', E_USER_WARNING );
return false;
}
function read( string $id ) : string | false {
/**
* @return string|false
*/
function read( string $id ) {
trigger_error( 'PHP Sessions requires Redis integration, which is currently not activated.', E_USER_WARNING );
return false;
}
function write( string $id, string $data ) : bool {
trigger_error( 'PHP Sessions requires Redis integration, which is currently not activated.', E_USER_WARNING );
return false;
}
function gc( int $maxlifetime ) : int | false {
/**
* @return int|false
*/
function gc( int $maxlifetime ) {
trigger_error( 'PHP Sessions requires Redis integration, which is currently not activated.', E_USER_WARNING );
return false;
}
Expand Down