8000 [DoctrineBridge] Fix LockStoreSchemaListener not working properly with iterable objects by barton-webwings · Pull Request #54407 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[DoctrineBridge] Fix LockStoreSchemaListener not working properly with iterable objects #54407

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[Lock] Add a case for the new NullStore to StoreFactory
  • Loading branch information
barton-webwings committed Apr 12, 2024
commit a2d215acba4ab20dde207d661eb4fc4db4000ed0
3 changes: 3 additions & 0 deletions src/Symfony/Component/Lock/Store/StoreFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ public static function createStore(#[\SensitiveParameter] object|string $connect

case 'in-memory' === $connection:
return new InMemoryStore();

case 'null' === $connection:
return new NullStore();
}

throw new InvalidArgumentException(sprintf('Unsupported Connection: "%s".', $connection));
Expand Down
0