Completed
Push — master ( 1be70d...ec1e74 )
by Luc
08:50
created
DataGrid/Column/StaticColumn.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -4,6 +4,9 @@
 block discarded – undo
4 4
 
5 5
 class StaticColumn extends AbstractColumn
6 6
 {
7
+    /**
8
+     * @param string $label
9
+     */
7 10
     public function __construct($label = null, $order = 0)
8 11
     {
9 12
         parent::__construct(null, $label, $order);
Please login to merge, or discard this patch.
DataGrid/DataGrid.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -49,6 +49,9 @@
 block discarded – undo
49 49
         return $this->options[$option];
50 50
     }
51 51
 
52
+    /**
53
+     * @param string $alias
54
+     */
52 55
     public function addColumn(ColumnInterface $column, $alias = null)
53 56
     {
54 57
         if (null !== $alias) {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Symfony\Component\Console\Output\OutputInterface;
6 6
 use Symfony\Component\Console\Helper\HelperSet;
7
-use Symfony\Component\OptionsResolver\Options;
8 7
 use Symfony\Component\OptionsResolver\OptionsResolver;
9 8
 use Datatheke\Bundle\PagerBundle\Pager\PagerInterface;
10 9
 use Datatheke\Bundle\PagerBundle\Pager\OrderBy;
Please login to merge, or discard this patch.
Pager/Adapter/ORMQueryBuilderAdapter.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -28,6 +28,9 @@  discard block
 block discarded – undo
28 28
         }
29 29
     }
30 30
 
31
+    /**
32
+     * @param string $alias
33
+     */
31 34
     public function addField(Field $field, $alias = null)
32 35
     {
33 36
         if (null !== $alias) {
@@ -282,6 +285,9 @@  discard block
 block discarded – undo
282 285
         return $this;
283 286
     }
284 287
 
288
+    /**
289
+     * @param string $paramName
290
+     */
285 291
     protected function buildCriteria(QueryBuilder $builder, $qualifier, $operator, $value, $paramName)
286 292
     {
287 293
         $expr = $builder->expr();
Please login to merge, or discard this patch.
Pager/Factory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -86,6 +86,9 @@
 block discarded – undo
86 86
         return new ConsolePager($adapter, $handler, array_merge($defaults, $options));
87 87
     }
88 88
 
89
+    /**
90
+     * @param string $name
91
+     */
89 92
     protected function createHandler($name, $list)
90 93
     {
91 94
         if (!isset($list[$name])) {
Please login to merge, or discard this patch.
Pager/Handler/Console/DefaultHandler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Symfony\Component\Console\Output\OutputInterface;
6 6
 use Symfony\Component\Console\Helper\HelperSet;
7
-use Symfony\Component\OptionsResolver\Options;
8 7
 use Symfony\Component\OptionsResolver\OptionsResolver;
9 8
 use Datatheke\Bundle\PagerBundle\Pager\PagerInterface;
10 9
 use Datatheke\Bundle\PagerBundle\Pager\OrderBy;
Please login to merge, or discard this patch.
Twig/DataGridExtension.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@
 block discarded – undo
68 68
         $this->themes->attach($datagrid, $resources);
69 69
     }
70 70
 
71
+    /**
72
+     * @param DataGridViewInterface $datagrid
73
+     */
71 74
     protected function render(\Twig_Environment $env, $datagrid, $blocks, $params = array())
72 75
     {
73 76
         if (!is_array($blocks)) {
Please login to merge, or discard this patch.
DataGrid/Factory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -86,6 +86,9 @@
 block discarded – undo
86 86
         return new ConsolePager($adapter, $handler, array_merge($defaults, $options));
87 87
     }
88 88
 
89
+    /**
90
+     * @param string $name
91
+     */
89 92
     protected function createHandler($name, $list)
90 93
     {
91 94
         if (!isset($list[$name])) {
Please login to merge, or discard this patch.