@@ -159,7 +159,7 @@ |
||
159 | 159 | * @param bool $fastFetch Whether to perform one query to load all the model data instead of fetching them one by |
160 | 160 | * one (ignores cache) |
161 | 161 | * |
162 | - * @return array |
|
162 | + * @return Model[] |
|
163 | 163 | */ |
164 | 164 | public function getModels($fastFetch = false) |
165 | 165 | { |
@@ -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; |