Completed
Branch master (823aad)
by Koldo
10:07
created
Generator/GenCrudGenerator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -249,8 +249,8 @@
 block discarded – undo
249 249
     }
250 250
 
251 251
     /**
252
-     * @param $file
253
-     * @param $target
252
+     * @param string $file
253
+     * @param string $target
254 254
      * @param $classname
255 255
      * @param $entityClass
256 256
      * @param $serviceNamespace
Please login to merge, or discard this patch.
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.