*/
public function newSessionInfo( $id = null ) {
if ( $this->canChangeUser() && $this->persistsSessionId() ) {
- return new SessionInfo( $this->priority, array(
+ return new SessionInfo( $this->priority, [
'id' => $id,
'provider' => $this,
'persisted' => false,
'idIsSafe' => true,
- ) );
+ ] );
}
return null;
}
* @return array
*/
public function getVaryHeaders() {
- return array();
+ return [];
}
/**
* @return string[]
*/
public function getVaryCookies() {
- return array();
+ return [];
}
/**