File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1111namespace Atlas \Pdo ;
1212
1313/**
14+ * @phpstan-import-type connection_store_entry_array from PdoCustomTypes
1415 * @phpstan-import-type connection_store_array from PdoCustomTypes
1516 * @phpstan-import-type log_entry_array from PdoCustomTypes
1617 */
@@ -157,7 +158,7 @@ protected function getConnection(
157158 }
158159
159160 if (! empty ($ this ->instances [$ type ])) {
160- /** @var array<string, array<string, Connection> > $instances */
161+ /** @var array<string, connection_store_entry_array > $instances */
161162 $ instances = $ this ->instances ;
162163 /** @var Connection $connection */
163164 $ connection = reset ($ instances [$ type ]);
Original file line number Diff line number Diff line change 1111namespace Atlas \Pdo ;
1212
1313/**
14- * @phpstan-type connection_entry array<string, ? Connection>
14+ * @phpstan-type connection_store_entry_array array<string, Connection>
1515 *
1616 * @phpstan-type connection_store_array array{
1717 * DEFAULT: ?Connection,
18- * READ: connection_entry ,
19- * WRITE: connection_entry
18+ * READ: connection_store_entry_array ,
19+ * WRITE: connection_store_entry_array
2020 * }
2121 *
2222 * @phpstan-type dsn_args_array array{
You can’t perform that action at this time.
0 commit comments