Skip to content

Commit 2b2bc51

Browse files
committed
Update docs
1 parent f97509a commit 2b2bc51

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/VerifierServer/Server.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -428,12 +428,13 @@ public function setLogger(LoggerInterface|true|null $logger): void
428428
/**
429429
* Sets the state for the server instance.
430430
*
431-
* This method initializes the state only if it has not been set already.
432-
* If the provided state is an array, it will be converted into a
433-
* PersistentState object.
431+
* This method ensures that the state is initialized only once. If the state
432+
* is provided as an array, it will be converted into a PersistentState object.
433+
* The state is then assigned to the server instance and used to set up the
434+
* verified endpoint.
434435
*
435436
* @param array|PersistentState $state The state to set, either as an
436-
* associative array or a PersistentState object.
437+
* array of options or a PersistentState object.
437438
* @return void
438439
*/
439440
public function setState(array|PersistentState $state)

0 commit comments

Comments
 (0)