@@ -66,6 +66,9 @@ discard block |
||
66 | 66 | self::$qbConfig = $config; |
67 | 67 | } |
68 | 68 | |
69 | + /** |
|
70 | + * @return null|Connection |
|
71 | + */ |
|
69 | 72 | public static function getQueryBuilderConnection() |
70 | 73 | { |
71 | 74 | if (!self::$qbConnection) { |
@@ -119,7 +122,7 @@ discard block |
||
119 | 122 | * Gets a parameter |
120 | 123 | * |
121 | 124 | * @param string $name The parameter name |
122 | - * @return mixed The parameter value |
|
125 | + * @return string The parameter value |
|
123 | 126 | */ |
124 | 127 | public static function getParameter($name) |
125 | 128 | { |
@@ -229,7 +232,7 @@ discard block |
||
229 | 232 | } |
230 | 233 | |
231 | 234 | /** |
232 | - * @param $kernel |
|
235 | + * @param AppKernel $kernel |
|
233 | 236 | */ |
234 | 237 | public static function setKernel($kernel) |
235 | 238 | { |
@@ -8,7 +8,6 @@ |
||
8 | 8 | |
9 | 9 | use BZIon\Cache\ModelCache; |
10 | 10 | use Pixie\Connection; |
11 | -use Pixie\QueryBuilder\QueryBuilderHandler; |
|
12 | 11 | use Symfony\Component\DependencyInjection\ContainerInterface; |
13 | 12 | use Symfony\Component\EventDispatcher\EventDispatcher; |
14 | 13 | use Symfony\Component\Form\FormFactory; |
@@ -81,6 +81,7 @@ discard block |
||
81 | 81 | |
82 | 82 | /** |
83 | 83 | * {@inheritdoc} |
84 | + * @param integer $limit |
|
84 | 85 | */ |
85 | 86 | public function limit($limit) |
86 | 87 | { |
@@ -189,7 +190,7 @@ discard block |
||
189 | 190 | * |
190 | 191 | * @throws \Pixie\Exception |
191 | 192 | * |
192 | - * @return array |
|
193 | + * @return Model[] |
|
193 | 194 | */ |
194 | 195 | public function getModels($fastFetch = false) |
195 | 196 | { |