Skip to content

Fix bindings annotation #98

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

Merged
merged 1 commit into from
Oct 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 3 additions & 3 deletions src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ public function getSession()
/**
* Query CREATE/DROP
*
* @param string[] $bindings
* @param mixed[] $bindings
* @return Statement
*/
public function write(string $sql, array $bindings = [], bool $exception = true)
Expand Down Expand Up @@ -356,7 +356,7 @@ public function enableExtremes(bool $flag = true)
}

/**
* @param string[] $bindings
* @param mixed[] $bindings
* @return Statement
*/
public function select(
Expand Down Expand Up @@ -398,7 +398,7 @@ public function progressFunction(callable $callback)
/**
* prepare select
*
* @param string[] $bindings
* @param mixed[] $bindings
* @return Statement
*/
public function selectAsync(
Expand Down
16 changes: 8 additions & 8 deletions src/Transport/Http.php
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ public function ping() : bool

/**
* @param string $sql
* @param array $bindings
* @param mixed[] $bindings
* @return Query
*/
private function prepareQuery($sql, $bindings)
Expand All @@ -500,7 +500,7 @@ private function prepareQuery($sql, $bindings)

/**
* @param Query|string $sql
* @param array $bindings
* @param mixed[] $bindings
* @param null|WhereInFile $whereInFile
* @param null|WriteToFile $writeToFile
* @return CurlerRequest
Expand All @@ -521,7 +521,7 @@ private function prepareSelect($sql, $bindings, $whereInFile, $writeToFile = nul

/**
* @param Query|string $sql
* @param array $bindings
* @param mixed[] $bindings
* @return CurlerRequest
* @throws \ClickHouseDB\Exception\TransportException
*/
Expand All @@ -546,7 +546,7 @@ public function executeAsync()

/**
* @param Query|string $sql
* @param array $bindings
* @param mixed[] $bindings
* @param null|WhereInFile $whereInFile
* @param null|WriteToFile $writeToFile
* @return Statement
Expand All @@ -562,7 +562,7 @@ public function select($sql, array $bindings = [], $whereInFile = null, $writeTo

/**
* @param Query|string $sql
* @param array $bindings
* @param mixed[] $bindings
* @param null|WhereInFile $whereInFile
* @param null|WriteToFile $writeToFile
* @return Statement
Expand All @@ -586,7 +586,7 @@ public function setProgressFunction(callable $callback)

/**
* @param string $sql
* @param array $bindings
* @param mixed[] $bindings
* @param bool $exception
* @return Statement
* @throws \ClickHouseDB\Exception\TransportException
Expand Down Expand Up @@ -681,7 +681,7 @@ private function streaming(Stream $streamRW,CurlerRequest $request)
/**
* @param Stream $streamRead
* @param string $sql
* @param array $bindings
* @param mixed[] $bindings
* @return Statement
* @throws \ClickHouseDB\Exception\TransportException
*/
Expand All @@ -696,7 +696,7 @@ public function streamRead(Stream $streamRead,$sql,$bindings=[])
/**
* @param Stream $streamWrite
* @param string $sql
* @param array $bindings
* @param mixed[] $bindings
* @return Statement
* @throws \ClickHouseDB\Exception\TransportException
*/
Expand Down