Completed
Pull Request — master (#186)
by Vladimir
05:51 queued 03:01
created
src/Service.php 2 patches
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,6 +66,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
229 232
     }
230 233
 
231 234
     /**
232
-     * @param $kernel
235
+     * @param AppKernel $kernel
233 236
      */
234 237
     public static function setKernel($kernel)
235 238
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/QueryBuilder/QueryBuilderFlex.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,6 +81,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.