File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
src/Domain/Components/DataSource Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 2121 * @phpstan-import-type TLoginResponsePayload from UserTypes
2222 * @phpstan-import-type TUserDbRecord from UserTypes
2323 * @phpstan-import-type TUserRecord from UserTypes
24- */
25- /**
24+ *
2625 * Note: The 'readonly' keyword was intentionally removed from this class.
2726 * Properties $sessionToken and $sessionUser are mutable to support session
2827 * management, allowing updates to the current session state. This change
2928 * removes immutability guarantees, but is necessary for the intended use.
3029 */
3130final class TransportRepository
31+ {
3232 private ?Token $ sessionToken = null ;
3333
3434 private ?UserTransport $ sessionUser = null ;
Original file line number Diff line number Diff line change 1919
2020/**
2121 * @phpstan-import-type TUserRecord from UserTypes
22+ *
23+ * The 'final' keyword was intentionally removed from this class to allow
24+ * extension for testing purposes (e.g., mocking in unit tests).
25+ *
26+ * Please avoid extending this class in production code unless absolutely necessary.
2227 */
23- // The 'final' keyword was intentionally removed from this class to allow extension for testing purposes (e.g., mocking in unit tests).
24- // Please avoid extending this class in production code unless absolutely necessary.
2528class UserRepository
2629{
2730 public function __construct (
You can’t perform that action at this time.
0 commit comments