summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Utils/Query.php22
-rw-r--r--tests/Utils/CLITest.php4
2 files changed, 12 insertions, 14 deletions
diff --git a/src/Utils/Query.php b/src/Utils/Query.php
index 190166f..6d1aa87 100644
--- a/src/Utils/Query.php
+++ b/src/Utils/Query.php
@@ -496,17 +496,17 @@ class Query
/**
* Gets a specific clause.
*
- * @param Statement $statement the parsed query that has to be modified
- * @param TokensList $list the list of tokens
- * @param string $clause the clause to be returned
- * @param integer|string $type The type of the search.
- * If int,
- * -1 for everything that was before
- * 0 only for the clause
- * 1 for everything after
- * If string, the name of the first clause that
- * should not be included.
- * @param bool $skipFirst whether to skip the first keyword in clause
+ * @param Statement $statement the parsed query that has to be modified
+ * @param TokensList $list the list of tokens
+ * @param string $clause the clause to be returned
+ * @param int|string $type The type of the search.
+ * If int,
+ * -1 for everything that was before
+ * 0 only for the clause
+ * 1 for everything after
+ * If string, the name of the first clause that
+ * should not be included.
+ * @param bool $skipFirst whether to skip the first keyword in clause
*
* @return string
*/
diff --git a/tests/Utils/CLITest.php b/tests/Utils/CLITest.php
index fb4ee23..6eee867 100644
--- a/tests/Utils/CLITest.php
+++ b/tests/Utils/CLITest.php
@@ -15,11 +15,9 @@ class CLITest extends TestCase
}
/**
- * Test that getopt call works
+ * Test that getopt call works.
*
* We do mock it for other tests to return values we want.
- *
- * @return void
*/
public function testGetopt()
{