mirror of
https://github.com/processwire/processwire.git
synced 2025-08-13 10:15:28 +02:00
Updates for PHP 8.4 support per processwire/processwire-issues#2000 Also note that these changes require we adjust our minimum required PHP version from 7.0 up to 7.1, with PHP 8.x still recommended.
This commit is contained in:
@@ -1706,7 +1706,7 @@ class Session extends Wire implements \IteratorAggregate {
|
||||
* @since 3.0.166
|
||||
*
|
||||
*/
|
||||
public function sessionHandler(WireSessionHandler $sessionHandler = null) {
|
||||
public function sessionHandler(?WireSessionHandler $sessionHandler = null) {
|
||||
if($sessionHandler) $this->sessionHandler = $sessionHandler;
|
||||
return $this->sessionHandler;
|
||||
}
|
||||
|
Reference in New Issue
Block a user