Completed
Push — master ( 25b79c...40dc28 )
by Luc
11s
created
src/Label/ReadModels/JSON/Repository/Doctrine/DBALReadRepository.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     public function getByUuid(UUID $uuid)
55 55
     {
56 56
         $aliases = $this->getAliases();
57
-        $whereId = SchemaConfigurator::UUID_COLUMN . ' = ?';
57
+        $whereId = SchemaConfigurator::UUID_COLUMN.' = ?';
58 58
 
59 59
         $queryBuilder = $this->createQueryBuilder()->select($aliases)
60 60
             ->from($this->getTableName()->toNative())
@@ -215,15 +215,15 @@  discard block
 block discarded – undo
215 215
     private function createUserLabelsSubQuery(Query $query)
216 216
     {
217 217
         return $this->createQueryBuilder()
218
-            ->select('DISTINCT ' . LabelRolesSchemaConfigurator::LABEL_ID_COLUMN)
218
+            ->select('DISTINCT '.LabelRolesSchemaConfigurator::LABEL_ID_COLUMN)
219 219
             ->from($this->userRolesTableName->toNative(), 'ur')
220 220
             ->innerJoin(
221 221
                 'ur',
222 222
                 $this->labelRolesTableName->toNative(),
223 223
                 'lr',
224
-                'ur.' . PermissionsSchemaConfigurator::ROLE_ID_COLUMN . ' = lr.' . LabelRolesSchemaConfigurator::ROLE_ID_COLUMN
224
+                'ur.'.PermissionsSchemaConfigurator::ROLE_ID_COLUMN.' = lr.'.LabelRolesSchemaConfigurator::ROLE_ID_COLUMN
225 225
             )
226
-            ->where('ur.' . PermissionsSchemaConfigurator::USER_ID_COLUMN . '= :' . PermissionsSchemaConfigurator::USER_ID_COLUMN);
226
+            ->where('ur.'.PermissionsSchemaConfigurator::USER_ID_COLUMN.'= :'.PermissionsSchemaConfigurator::USER_ID_COLUMN);
227 227
     }
228 228
 
229 229
     /**
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
     {
250 250
         return $queryBuilder->expr()->like(
251 251
             SchemaConfigurator::NAME_COLUMN,
252
-            ':' . SchemaConfigurator::NAME_COLUMN
252
+            ':'.SchemaConfigurator::NAME_COLUMN
253 253
         );
254 254
     }
255 255
 
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
      */
260 260
     private function createLikeParameter(Query $query)
261 261
     {
262
-        return '%' . $query->getValue()->toNative() . '%';
262
+        return '%'.$query->getValue()->toNative().'%';
263 263
     }
264 264
 
265 265
     /**
Please login to merge, or discard this patch.