<?php namespace Phaza\LaravelPostgis;

use Bosnadev\Database\PostgresConnection;

class PostgisConnection extends PostgresConnection {
	/**
	 * Get the default schema grammar instance.
	 *
	 * @return \Illuminate\Database\Grammar
	 */
	protected function getDefaultSchemaGrammar()
	{
		return $this->withTablePrefix(new Schema\Grammars\PostgisGrammar);
	}
}

<?php namespace Phaza\LaravelPostgis;

class PostgisConnection extends Connection {
	/**
	 * Get the default schema grammar instance.
	 *
	 * @return \Illuminate\Database\Grammar
	 */
	protected function getDefaultSchemaGrammar()
	{
		return $this->withTablePrefix(new Schema\Grammars\PostgisGrammar);
	}
}

Use correct connection parent class
Use correct connection parent class
