File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
src/Illuminate/Database/Console Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -155,13 +155,13 @@ protected function getSqliteArguments(array $connection)
155155 */
156156 protected function getSqlsrvArguments (array $ connection )
157157 {
158- return $ this ->getOptionalArguments ([
159- 'database ' => '-d ' . $ connection ['database ' ],
160- 'username ' => '-U ' . $ connection ['username ' ],
161- 'password ' => '-P ' . $ connection ['password ' ],
162- 'host ' => '-S tcp: ' .$ connection ['host ' ]
163- .($ connection ['port ' ] ? ', ' .$ connection ['port ' ] : '' ),
164- ], $ connection );
158+ return array_merge (... $ this ->getOptionalArguments ([
159+ 'database ' => [ '-d ' , $ connection ['database ' ] ],
160+ 'username ' => [ '-U ' , $ connection ['username ' ] ],
161+ 'password ' => [ '-P ' , $ connection ['password ' ] ],
162+ 'host ' => [ '-S ' , ' tcp: ' .$ connection ['host ' ]
163+ .($ connection ['port ' ] ? ', ' .$ connection ['port ' ] : '' ), ],
164+ ], $ connection )) ;
165165 }
166166
167167 /**
You can’t perform that action at this time.
0 commit comments