Skip to content

Commit

Permalink
Add typehints to phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohutai committed Jan 22, 2019
1 parent de5e73d commit 838e88d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Storage/Query/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ public function getContentByScope(string $scopeName, string $textQuery, array $p
/**
* Helper to be called from Twig that is passed via a TwigRecordsView rather than the raw records.
*
* @param $textQuery Base part of setcontent like `pages` or `pages/1`
* @param $parameters Parameters like `printquery` and `paging`
* @param $whereParameters Actual `where` parameters taken from `... where { foo: bar } ...`
* @param string $textQuery The base part like `pages` or `pages/1`
* @param array $parameters Parameters like `printquery` and `paging`
* @param array $whereParameters Actual `where` parameters taken from `... where { foo: bar } ...`
*/
public function getContentForTwig(string $textQuery, array $parameters = [], array $whereParameters = [])
Expand Down

0 comments on commit 838e88d

Please sign in to comment.