Completed
Push — master ( 63e741...02cbf4 )
by
unknown
04:16
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/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 \Netdudes\DataSourceryBundle\DataSource\Configuration\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.
DataSource/Driver/Doctrine/QueryBuilder/Builder.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,8 +94,9 @@
 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
-     * @return QueryBuilder|null
99
+     * @return QueryBuilder
99 100
      */
100 101
     public function buildQueryBuilder(Query $query, $entityClass)
101 102
     {
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.
Extension/Type/TableBundleFunctionExtension.php 1 patch
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,6 +27,11 @@  discard block
 block discarded – undo
27 27
      */
28 28
     private $name;
29 29
 
30
+    /**
31
+     * @param string $name
32
+     * @param \Netdudes\DataSourceryBundle\Extension\BuiltInFunctionsExtension $instance
33
+     * @param string $method
34
+     */
30 35
     public function __construct($name, $instance, $method)
31 36
     {
32 37
         $this->instance = $instance;
@@ -43,7 +48,7 @@  discard block
 block discarded – undo
43 48
     }
44 49
 
45 50
     /**
46
-     * @return mixed
51
+     * @return string
47 52
      */
48 53
     public function getMethod()
49 54
     {
@@ -51,7 +56,7 @@  discard block
 block discarded – undo
51 56
     }
52 57
 
53 58
     /**
54
-     * @return mixed
59
+     * @return string
55 60
      */
56 61
     public function getName()
57 62
     {
Please login to merge, or discard this patch.
DataSource/Driver/Doctrine/QueryBuilder/RequiredFieldsExtractorTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace Netdudes\DataSourceryBundle\Tests\DataSource\Driver\Doctrine\QueryBuilder;
3 3
 
4
-use Netdudes\DataSourceryBundle\DataSource\Configuration\Entity\QueryBuilderDataSourceFieldsFromConfigurationGenerator;
5 4
 use Netdudes\DataSourceryBundle\DataSource\Configuration\Field;
6 5
 use Netdudes\DataSourceryBundle\DataSource\Driver\Doctrine\QueryBuilder\RequiredFieldsExtractor;
7 6
 use Netdudes\DataSourceryBundle\DataType\NumberDataType;
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.
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
      * @param $token
257 257
      *
258
-     * @return mixed
258
+     * @return integer
259 259
      * @throws \Exception
260 260
      */
261 261
     protected function translateLogic($token)
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
      *
279 279
      * @param $value
280 280
      *
281
-     * @return mixed
281
+     * @return string
282 282
      */
283 283
     protected function parseValue($value)
284 284
     {
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
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
      * Tries to match the following tokens to an <assertion>.
179 179
      *
180 180
      * @throws Exception\UQLSyntaxError
181
-     * @return bool|ASTAssertion
181
+     * @return boolean
182 182
      */
183 183
     public function matchAssertion()
184 184
     {
@@ -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
     {
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
325 325
     }
326 326
 
327 327
     /**
328
-     * @param mixed $tokenIndex
328
+     * @param integer $tokenIndex
329 329
      */
330 330
     public function setTokenIndex($tokenIndex)
331 331
     {
@@ -365,7 +365,7 @@  discard block
 block discarded – undo
365 365
     /**
366 366
      * Helper method. Throws an Exception representing a Syntax Error.
367 367
      *
368
-     * @param $message
368
+     * @param string $message
369 369
      *
370 370
      * @throws \Exception
371 371
      */
@@ -387,6 +387,9 @@  discard block
 block discarded – undo
387 387
         );
388 388
     }
389 389
 
390
+    /**
391
+     * @param string $message
392
+     */
390 393
     private function throwSyntaxError($message)
391 394
     {
392 395
         throw new UQLSyntaxError('Syntax error: ' . $message);
@@ -396,7 +399,7 @@  discard block
 block discarded – undo
396 399
      * Transforms a literal subtype (e.g. T_LITERAL_FALSE) into a plain
397 400
      * literal match. Plain literals are unchanged.
398 401
      *
399
-     * @param $literal
402
+     * @param boolean $literal
400 403
      *
401 404
      * @return array
402 405
      */
Please login to merge, or discard this patch.