Completed
Pull Request — master (#95)
by Arnaud
18:01 queued 15:25
created
src/Configuration/ActionConfiguration.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      * ActionConfiguration constructor.
43 43
      *
44 44
      * @param string             $actionName
45
-     * @param                    $adminName
45
+     * @param                    string $adminName
46 46
      * @param AdminConfiguration $adminConfiguration
47 47
      */
48 48
     public function __construct($actionName, $adminName, AdminConfiguration $adminConfiguration)
Please login to merge, or discard this patch.
src/Event/Subscriber/ExtraConfigurationSubscriber.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -114,6 +114,9 @@  discard block
 block discarded – undo
114 114
         ];
115 115
     }
116 116
 
117
+    /**
118
+     * @param string $adminName
119
+     */
117 120
     private function addDefaultTopMenu(array &$configuration, $adminName)
118 121
     {
119 122
         if (!$this->applicationConfiguration->getParameter('enable_menus')) {
@@ -148,6 +151,10 @@  discard block
 block discarded – undo
148 151
         ];
149 152
     }
150 153
 
154
+    /**
155
+     * @param string $entityClass
156
+     * @param string $adminName
157
+     */
151 158
     private function addDefaultFields(array &$configuration, $entityClass, $adminName)
152 159
     {
153 160
         $fieldsMapping = [
Please login to merge, or discard this patch.
src/Factory/FieldFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
     }
144 144
     
145 145
     /**
146
-     * @param $name
146
+     * @param string $name
147 147
      * @param $type
148 148
      *
149 149
      * @return FieldInterface
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,13 +3,11 @@
 block discarded – undo
3 3
 namespace LAG\AdminBundle\Factory;
4 4
 
5 5
 use Exception;
6
-use LAG\AdminBundle\Admin\Exception\AdminException;
7 6
 use LAG\AdminBundle\Configuration\ActionConfiguration;
8 7
 use LAG\AdminBundle\Configuration\ApplicationConfiguration;
9 8
 use LAG\AdminBundle\Configuration\ApplicationConfigurationStorage;
10 9
 use LAG\AdminBundle\Field\FieldInterface;
11 10
 use LAG\AdminBundle\Field\TwigAwareFieldInterface;
12
-use LAG\AdminBundle\Field\TwigAwareInterface;
13 11
 use LAG\AdminBundle\Field\TranslatorAwareFieldInterface;
14 12
 use Symfony\Component\OptionsResolver\OptionsResolver;
15 13
 use Symfony\Component\Translation\TranslatorInterface;
Please login to merge, or discard this patch.
src/View/View.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,8 +64,8 @@
 block discarded – undo
64 64
     /**
65 65
      * View constructor.
66 66
      *
67
-     * @param                     $actionName
68
-     * @param                     $adminName
67
+     * @param                     string $actionName
68
+     * @param                     string $adminName
69 69
      * @param ActionConfiguration $configuration
70 70
      * @param AdminConfiguration  $adminConfiguration
71 71
      * @param FieldInterface[]    $fields
Please login to merge, or discard this patch.