Completed
Pull Request — master (#68)
by Daniel
02:22
created
lib/Metadata/ClassMetadata.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
9 9
 {
10 10
     private $grids;
11 11
 
12
+    /**
13
+     * @param string $name
14
+     */
12 15
     public function __construct($name, array $grids)
13 16
     {
14 17
         parent::__construct($name);
Please login to merge, or discard this patch.
lib/GridFactoryBuilder.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -69,6 +69,9 @@  discard block
 block discarded – undo
69 69
         return $this;
70 70
     }
71 71
 
72
+    /**
73
+     * @param string $alias
74
+     */
72 75
     public function addAction(ActionInterface $action, $alias = null): self
73 76
     {
74 77
         $this->actions[$alias] = $action;
@@ -76,6 +79,9 @@  discard block
 block discarded – undo
76 79
         return $this;
77 80
     }
78 81
 
82
+    /**
83
+     * @param string $alias
84
+     */
79 85
     public function addFilter(FilterInterface $filter, $alias = null)
80 86
     {
81 87
         $this->filters[$alias] = $filter;
@@ -83,6 +89,9 @@  discard block
 block discarded – undo
83 89
         return $this;
84 90
     }
85 91
 
92
+    /**
93
+     * @param string $alias
94
+     */
86 95
     public function addColumn(ColumnInterface $column, $alias = null)
87 96
     {
88 97
         $this->columns[$alias] = $column;
Please login to merge, or discard this patch.
lib/Filter/DateFilter.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@  discard block
 block discarded – undo
5 5
 namespace Psi\Component\Grid\Filter;
6 6
 
7 7
 use Psi\Component\Grid\FilterDataInterface;
8
-use Psi\Component\Grid\FilterInterface;
9 8
 use Psi\Component\ObjectAgent\Query\Comparison;
10 9
 use Psi\Component\ObjectAgent\Query\Expression;
11 10
 use Psi\Component\ObjectAgent\Query\Query;
@@ -13,8 +12,6 @@  discard block
 block discarded – undo
13 12
 use Symfony\Component\Form\FormBuilderInterface;
14 13
 use Symfony\Component\Form\FormInterface;
15 14
 use Symfony\Component\OptionsResolver\OptionsResolver;
16
-use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
17
-use Psi\Component\Grid\Filter\BooleanFilterData;
18 15
 use Symfony\Component\Form\Extension\Core\Type\DateType;
19 16
 use Psi\Component\Grid\Filter\DateFilterData;
20 17
 
Please login to merge, or discard this patch.
lib/Filter/StringFilter.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -5,13 +5,9 @@
 block discarded – undo
5 5
 namespace Psi\Component\Grid\Filter;
6 6
 
7 7
 use Psi\Component\Grid\FilterDataInterface;
8
-use Psi\Component\Grid\FilterInterface;
9
-use Psi\Component\ObjectAgent\Capabilities;
10 8
 use Psi\Component\ObjectAgent\Query\Comparison;
11 9
 use Psi\Component\ObjectAgent\Query\Expression;
12 10
 use Psi\Component\ObjectAgent\Query\Query;
13
-use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
14
-use Symfony\Component\Form\Extension\Core\Type\HiddenType;
15 11
 use Symfony\Component\Form\Extension\Core\Type\TextType;
16 12
 use Symfony\Component\Form\FormBuilderInterface;
17 13
 use Symfony\Component\Form\FormInterface;
Please login to merge, or discard this patch.
lib/Filter/NumberFilter.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -5,13 +5,9 @@
 block discarded – undo
5 5
 namespace Psi\Component\Grid\Filter;
6 6
 
7 7
 use Psi\Component\Grid\FilterDataInterface;
8
-use Psi\Component\Grid\FilterInterface;
9
-use Psi\Component\ObjectAgent\Capabilities;
10 8
 use Psi\Component\ObjectAgent\Query\Comparison;
11 9
 use Psi\Component\ObjectAgent\Query\Expression;
12 10
 use Psi\Component\ObjectAgent\Query\Query;
13
-use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
14
-use Symfony\Component\Form\Extension\Core\Type\HiddenType;
15 11
 use Symfony\Component\Form\Extension\Core\Type\TextType;
16 12
 use Symfony\Component\Form\FormBuilderInterface;
17 13
 use Symfony\Component\Form\FormInterface;
Please login to merge, or discard this patch.