Completed
Pull Request — master (#283)
by Luc
05:16
created
src/Label/ReadModels/Relations/Repository/Doctrine/DBALWriteRepository.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,8 +44,8 @@  discard block
 block discarded – undo
44 44
     ) {
45 45
         $queryBuilder = $this->createQueryBuilder()
46 46
             ->delete($this->getTableName())
47
-            ->where(SchemaConfigurator::LABEL_NAME . ' = ?')
48
-            ->andWhere(SchemaConfigurator::RELATION_ID . ' = ?')
47
+            ->where(SchemaConfigurator::LABEL_NAME.' = ?')
48
+            ->andWhere(SchemaConfigurator::RELATION_ID.' = ?')
49 49
             ->setParameters([$labelName->toNative(), $relationId->toNative()]);
50 50
 
51 51
         $this->executeTransactional($queryBuilder);
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     {
59 59
         $queryBuilder = $this->createQueryBuilder()
60 60
             ->delete($this->getTableName())
61
-            ->where(SchemaConfigurator::RELATION_ID . ' = ?')
61
+            ->where(SchemaConfigurator::RELATION_ID.' = ?')
62 62
             ->setParameters([$relationId->toNative()]);
63 63
 
64 64
         $this->executeTransactional($queryBuilder);
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      */
70 70
     private function executeTransactional(QueryBuilder $queryBuilder)
71 71
     {
72
-        $this->getConnection()->transactional(function () use ($queryBuilder) {
72
+        $this->getConnection()->transactional(function() use ($queryBuilder) {
73 73
             $queryBuilder->execute();
74 74
         });
75 75
     }
Please login to merge, or discard this patch.