Skip to content

Commit

Permalink
Added some array type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
mario-deluna committed Sep 29, 2020
1 parent 4211ef1 commit a6c8475
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/BaseQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class BaseQuery
/**
* Query builder callback macros
*
* @var array
* @var array<callable>
*/
protected $macros = array();

Expand All @@ -24,7 +24,7 @@ class BaseQuery
* This data has no influence on the generated query string or parameters directly.
* But allow you to use the query a state mashine.
*
* @var array
* @var array<mixed>
*/
protected $flags = array();

Expand Down Expand Up @@ -116,8 +116,8 @@ final public function macro($method, $callback)
/**
* Allow macro calls
*
* @param string $name
* @param array $arguments
* @param string $name
* @param array<mixed> $arguments
* @return mixed
*/
public function __call($name, $arguments)
Expand Down
2 changes: 1 addition & 1 deletion src/Query/Sql/Func.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Func
/**
* The function arguments
*
* @var array
* @var array<mixed>
*/
protected $arguments = array();

Expand Down
2 changes: 1 addition & 1 deletion src/Query/Sql/SelectBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class SelectBase extends Base
/**
* The query where statements
*
* @var array
* @var array<array>
*/
protected $wheres = array();

Expand Down

0 comments on commit a6c8475

Please sign in to comment.