Completed
Pull Request — master (#29)
by
unknown
06:45
created
DataSource/DataSource.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
     /**
85 85
      * Return list of data source fields available for the data source
86 86
      *
87
-     * @return FieldInterface
87
+     * @return Field[]
88 88
      */
89 89
     public function getFields()
90 90
     {
Please login to merge, or discard this patch.
DataSource/Driver/Doctrine/QueryBuilder/JoinGenerator.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,8 +33,8 @@  discard block
 block discarded – undo
33 33
     private $joinCache = [];
34 34
 
35 35
     /**
36
-     * @param array                   $queryBuilderDataSourceFields
37
-     * @param                         $fromAlias
36
+     * @param \Netdudes\DataSourceryBundle\DataSource\Configuration\FieldInterface[]                   $queryBuilderDataSourceFields
37
+     * @param                         string $fromAlias
38 38
      * @param RequiredFieldsExtractor $requiredFieldsExtractor
39 39
      */
40 40
     public function __construct(array $queryBuilderDataSourceFields, $fromAlias, RequiredFieldsExtractor $requiredFieldsExtractor)
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      * Walks a node of the dependency tree, recursively generating an ordered list on Joins
123 123
      * that is stored in the $this->joins cache.
124 124
      *
125
-     * @param       $parentUniqueIdentifier
125
+     * @param       string $parentUniqueIdentifier
126 126
      * @param       $node
127 127
      * @param       $descendants
128 128
      * @param array $completePath
Please login to merge, or discard this patch.
UQL/Exception/Semantic/UqlUnexpectedEndOfExpressionException.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     }
33 33
 
34 34
     /**
35
-     * @return \string[]
35
+     * @return string[]
36 36
      */
37 37
     public function getExpectedTokenCategories()
38 38
     {
Please login to merge, or discard this patch.
DataSource/Driver/Doctrine/QueryBuilder/Builder.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -94,6 +94,7 @@
 block discarded – undo
94 94
      * This function is cached, and will only be generated once per execution.
95 95
      *
96 96
      * @param Query $query
97
+     * @param string $entityClass
97 98
      *
98 99
      * @return QueryBuilder
99 100
      */
Please login to merge, or discard this patch.
Extension/UqlFunction.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-     * @return mixed
53
+     * @return string
54 54
      */
55 55
     public function getMethod()
56 56
     {
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     }
59 59
 
60 60
     /**
61
-     * @return mixed
61
+     * @return string
62 62
      */
63 63
     public function getName()
64 64
     {
Please login to merge, or discard this patch.
UQL/Interpreter.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
     /**
256 256
      * Translate Lexer <logic> tokens into Filter Condition Types.
257 257
      *
258
-     * @param $token
258
+     * @param string $token
259 259
      *
260 260
      * @return string
261 261
      * @throws \Exception
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
      *
281 281
      * @param mixed $value
282 282
      *
283
-     * @return mixed
283
+     * @return string
284 284
      */
285 285
     private function parseValue($value)
286 286
     {
Please login to merge, or discard this patch.
DataSource/Driver/Doctrine/DoctrineDriver.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      * @param DataSourceInterface $dataSource
67 67
      * @param QueryInterface      $query
68 68
      *
69
-     * @return \Doctrine\DBAL\Query\QueryBuilder|null
69
+     * @return QueryBuilder
70 70
      */
71 71
     public function getQueryBuilder(DataSourceInterface $dataSource, QueryInterface $query)
72 72
     {
@@ -122,6 +122,7 @@  discard block
 block discarded – undo
122 122
      *
123 123
      * @param array $dataRow Plain array of data for a single row, from the database
124 124
      * @param Field $dataSourceField
125
+     * @param \Netdudes\DataSourceryBundle\DataSource\Configuration\FieldInterface[] $fields
125 126
      *
126 127
      * @throws \Exception
127 128
      *
Please login to merge, or discard this patch.
UQL/Parser.php 1 patch
Doc Comments   +8 added lines, -5 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     /**
48 48
      * Lex, initialise and return the AST.
49 49
      *
50
-     * @param $string
50
+     * @param string $string
51 51
      *
52 52
      * @return bool|ASTAssertion|ASTGroup
53 53
      */
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
     /**
225 225
      * Tries to match the next token to an <operator>.
226 226
      *
227
-     * @return bool
227
+     * @return boolean|null
228 228
      */
229 229
     public function matchOperator()
230 230
     {
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
     }
327 327
 
328 328
     /**
329
-     * @param mixed $tokenIndex
329
+     * @param integer $tokenIndex
330 330
      */
331 331
     public function setTokenIndex($tokenIndex)
332 332
     {
@@ -366,7 +366,7 @@  discard block
 block discarded – undo
366 366
     /**
367 367
      * Helper method. Throws an Exception representing a Syntax Error.
368 368
      *
369
-     * @param $message
369
+     * @param string $message
370 370
      *
371 371
      * @throws \Exception
372 372
      */
@@ -388,6 +388,9 @@  discard block
 block discarded – undo
388 388
         );
389 389
     }
390 390
 
391
+    /**
392
+     * @param string $message
393
+     */
391 394
     private function throwSyntaxError($message)
392 395
     {
393 396
         throw new UQLSyntaxError('Syntax error: ' . $message);
@@ -397,7 +400,7 @@  discard block
 block discarded – undo
397 400
      * Transforms a literal subtype (e.g. T_LITERAL_FALSE) into a plain
398 401
      * literal match. Plain literals are unchanged.
399 402
      *
400
-     * @param $literal
403
+     * @param boolean $literal
401 404
      *
402 405
      * @return array
403 406
      */
Please login to merge, or discard this patch.