File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 2020 },
2121 "require-dev" : {
2222 "nette/di" : " ^2.4 || ^3.0" ,
23- "nette/http" : " ^3.0" ,
23+ "nette/http" : " ^3.0.0-beta " ,
2424 "nette/tester" : " ^2.0" ,
2525 "tracy/tracy" : " ^2.4"
2626 },
Original file line number Diff line number Diff line change @@ -46,12 +46,10 @@ function setIdentity(?IIdentity $identity);
4646 function getIdentity (): ?IIdentity ;
4747
4848 /**
49- * Enables log out from the persistent storage after inactivity.
50- * @param string|null like '20 minutes'
51- * @param int flag IUserStorage::CLEAR_IDENTITY
49+ * Enables log out from the persistent storage after inactivity (like '20 minutes'). Accepts flag IUserStorage::CLEAR_IDENTITY.
5250 * @return static
5351 */
54- function setExpiration ($ time , int $ flags = 0 );
52+ function setExpiration (? string $ expire , int $ flags = 0 );
5553
5654 /**
5755 * Why was user logged out?
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public function getIdentity(): ?Nette\Security\IIdentity
3232 }
3333
3434
35- public function setExpiration ($ time , int $ flags = 0 )
35+ public function setExpiration (? string $ time , int $ flags = 0 )
3636 {
3737 }
3838
You can’t perform that action at this time.
0 commit comments