Skip to content

Commit

Permalink
Fixed base query type hinting
Browse files Browse the repository at this point in the history
  • Loading branch information
mario-deluna committed Sep 29, 2020
1 parent 8dc57a0 commit a2672a0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/BaseQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ final public function setFlag($key, $value)
*
* @param string $key
* @param mixed $default
* @return void
* @return mixed
*/
final public function getFlag($key, $default = null)
{
Expand All @@ -116,7 +116,7 @@ final public function macro($method, $callback)
/**
* Allow macro calls
*
* @param stirng $name
* @param string $name
* @param array $arguments
* @return mixed
*/
Expand All @@ -134,7 +134,7 @@ public function __call($name, $arguments)
* Pass the own query to a callback
*
* @param callable $callback
* @return void
* @return self
*/
public function call($callback)
{
Expand All @@ -152,7 +152,7 @@ public function call($callback)
* Creates a new raw db expression instance
*
* @param string $expression
* @return ClanCats\Hydrahon\Query\Expression
* @return Expression
*/
final public function raw($expression)
{
Expand Down Expand Up @@ -223,4 +223,4 @@ public function execute()
{
return $this->executeResultFetcher();
}
}
}

0 comments on commit a2672a0

Please sign in to comment.