Completed
Branch master (f09254)
by Koldo
03:40 queued 01:22
created
Generator/GenFormGenerator.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -40,6 +40,7 @@
 block discarded – undo
40 40
 
41 41
     /**
42 42
      * {@inheritdoc}
43
+     * @param string $entity
43 44
      */
44 45
     public function generate(BundleInterface $bundle, $entity, ClassMetadataInfo $metadata, $forceOverwrite = false)
45 46
     {
Please login to merge, or discard this patch.
Command/CrudGenCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
         $questionHelper->writeSection($output, 'REST generation');
91 91
 
92 92
         try {
93
-            $entityClass = $this->getContainer()->get('doctrine')->getAliasNamespace($bundle).'\\'.$entity;
93
+            $entityClass = $this->getContainer()->get('doctrine')->getAliasNamespace($bundle) . '\\' . $entity;
94 94
             $metadata = $this->getEntityMetadata($entityClass);
95 95
         } catch (\Exception $e) {
96 96
             throw new \RuntimeException(sprintf('Entity "%s" does not exist in the "%s" bundle. Create it with the "doctrine:generate:entity" command and then execute this command again.', $entity, $bundle));
Please login to merge, or discard this patch.
DependencyInjection/KpicazaGenExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
         $configuration = new Configuration();
23 23
         $this->processConfiguration($configuration, $configs);
24 24
 
25
-        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
25
+        $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
26 26
         $loader->load('services.yml');
27 27
     }
28 28
 }
Please login to merge, or discard this patch.
Generator/GenRepositoryGenerator.php 1 patch
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,6 +33,10 @@  discard block
 block discarded – undo
33 33
         $this->rootDir = $rootDir;
34 34
     }
35 35
 
36
+    /**
37
+     * @param string $entity
38
+     * @param string $format
39
+     */
36 40
     public function generate(BundleInterface $bundle, $entity, ClassMetadataInfo $metadata, $format, $forceOverwrite)
37 41
     {
38 42
         if (count($metadata->identifier) != 1) {
@@ -155,8 +159,8 @@  discard block
 block discarded – undo
155 159
     }
156 160
 
157 161
     /**
158
-     * @param $file
159
-     * @param $target
162
+     * @param string $file
163
+     * @param string $target
160 164
      * @param $classname
161 165
      * @param $entityClass
162 166
      * @param $serviceNamespace
Please login to merge, or discard this patch.