Skip to content

Commit fe880cd

Browse files
committed
Merge branch '5.2'
2 parents 7c7468a + be3bc3c commit fe880cd

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
],
1010
"require": {
1111
"php": ">=5.5",
12-
"illuminate/database": "~5.1",
13-
"bosnadev/database": "~0.1",
14-
"geo-io/wkb-parser": "~1.0",
15-
"jmikola/geojson": "~1.0"
12+
"illuminate/database": "^5.2",
13+
"geo-io/wkb-parser": "^1.0",
14+
"jmikola/geojson": "^1.0",
15+
"phoenixgao/laravel-postgres-extended-schema": "^0.14.0"
1616
},
1717
"require-dev": {
1818
"phpunit/phpunit": "~4.5",

src/Connectors/ConnectionFactory.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
class ConnectionFactory extends \Bosnadev\Database\Connectors\ConnectionFactory
77
{
88
/**
9-
* @param string $driver
10-
* @param PDO $connection
11-
* @param string $database
12-
* @param string $prefix
13-
* @param array $config
14-
* @return mixed|PostgisConnection
9+
* @param string $driver
10+
* @param \Closure|PDO $connection
11+
* @param string $database
12+
* @param string $prefix
13+
* @param array $config
14+
* @return \Illuminate\Database\Connection|PostgisConnection
1515
*/
16-
protected function createConnection($driver, PDO $connection, $database, $prefix = '', array $config = [])
16+
protected function createConnection($driver, $connection, $database, $prefix = '', array $config = [])
1717
{
1818
if ($this->container->bound($key = "db.connection.{$driver}")) {
1919
return $this->container->make($key, [$connection, $database, $prefix, $config]);

0 commit comments

Comments
 (0)