Completed
Push — master ( 070a86...b7cf7d )
by Maxim
07:56
created
src/Weew/App/Doctrine/DoctrineConsoleRunner.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     /**
64 64
      * @param HelperSet $helperSet
65 65
      *
66
-     * @return array
66
+     * @return \Symfony\Component\Console\Command\Command[]
67 67
      */
68 68
     public function getConsoleCommands(HelperSet $helperSet) {
69 69
         $configuration = new Configuration($this->em->getConnection());
Please login to merge, or discard this patch.
src/Weew/App/Doctrine/DoctrineProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@
 block discarded – undo
23 23
     public function initialize(IContainer $container) {
24 24
         $container->set(IDoctrineConfig::class, DoctrineConfig::class);
25 25
         $container->set(
26
-            [EntityManager::class, ObjectManager::class, EntityManagerInterface::class],
27
-            [$this, 'createEntityManager']
26
+            [ EntityManager::class, ObjectManager::class, EntityManagerInterface::class ],
27
+            [ $this, 'createEntityManager' ]
28 28
         )->singleton();
29 29
     }
30 30
 
Please login to merge, or discard this patch.
src/Weew/App/Doctrine/DoctrineConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
             ->hasBoolean(self::DEBUG, 'Missing debug setting.')
39 39
             ->hasString(self::CACHE_PATH, 'Missing doctrine cache directory path.')
40 40
             ->hasString(self::PROXY_CLASSES_PATH)->nullable()
41
-            ->hasString(self::METADATA_FORMAT, 'Missing metadata format, supported formats are "annotations" and "yaml".')->allowed(['yaml', 'annotations'])
41
+            ->hasString(self::METADATA_FORMAT, 'Missing metadata format, supported formats are "annotations" and "yaml".')->allowed([ 'yaml', 'annotations' ])
42 42
             ->hasArray(self::CONFIG, 'Missing doctrine config block.')
43 43
             ->hasString(self::MIGRATIONS_NAMESPACE, 'Missing namespace for doctrine migrations.')
44 44
             ->hasString(self::MIGRATIONS_PATH, 'Missing directory path for doctrine migrations.')
Please login to merge, or discard this patch.