Completed
Branch master (a1aabf)
by Maxim
04:41
created
Category
src/Weew/Container/DoctrineIntegration/DoctrineRepositoriesLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     public function enable() {
51 51
         $this->container->set(
52 52
             $this->repositoryNameParser->getRepositoryNamePattern(),
53
-            [$this, 'getRepository']
53
+            [ $this, 'getRepository' ]
54 54
         )->singleton();
55 55
     }
56 56
 
Please login to merge, or discard this patch.
src/Weew/Container/DoctrineIntegration/RepositoryNameParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
      */
11 11
     public function convertRepositoryNameToEntityName($repositoryName) {
12 12
         return str_replace(
13
-            ['Repositories', 'Repository'], ['Entities', ''], $repositoryName
13
+            [ 'Repositories', 'Repository' ], [ 'Entities', '' ], $repositoryName
14 14
         );
15 15
     }
16 16
 
Please login to merge, or discard this patch.