Skip to content

Commit 4d45359

Browse files
committed
[HOTFIX] Make inteface compatible to method definition
1 parent 243673c commit 4d45359

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

library/Zend/Session/SaveHandler/Interface.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ interface Zend_Session_SaveHandler_Interface
3939
* @param string $save_path
4040
* @param string $name
4141
*/
42-
public function open($save_path, $name);
42+
public function open(string $save_path, string $name);
4343

4444
/**
4545
* Close Session - free resources
@@ -52,15 +52,15 @@ public function close();
5252
*
5353
* @param string $id
5454
*/
55-
public function read($id);
55+
public function read(string $id);
5656

5757
/**
5858
* Write Session - commit data to resource
5959
*
6060
* @param string $id
6161
* @param mixed $data
6262
*/
63-
public function write($id, $data);
63+
public function write(string $id, string $data);
6464

6565
/**
6666
* Destroy Session - remove data from resource for
@@ -76,5 +76,5 @@ public function destroy($id);
7676
*
7777
* @param int $maxlifetime
7878
*/
79-
public function gc($maxlifetime);
79+
public function gc(int $maxlifetime);
8080
}

0 commit comments

Comments
 (0)