Skip to content

Commit a6c2e26

Browse files
committed
CS fix
1 parent 2df522b commit a6c2e26

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

features/bootstrap/DoctrineContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ public function thereIsAComponentGroupWithComponents(int $count, ?string $id = n
387387
if ($id) {
388388
$reflection = new \ReflectionClass($componentGroup);
389389
$reflectionProp = $reflection->getProperty('id');
390-
// $reflectionProp->setAccessible(true);
390+
// $reflectionProp->setAccessible(true);
391391
$reflectionProp->setValue($componentGroup, Uuid::fromString($id));
392392
$this->manager->flush();
393393
$repo = $this->manager->getRepository(ComponentGroup::class);

src/Entity/User/AbstractUser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ public static function createFromPayload($username, array $payload): JWTUserInte
404404

405405
$reflection = new \ReflectionClass(static::class);
406406
$idProperty = $reflection->getProperty('id');
407-
// $idProperty->setAccessible(true);
407+
// $idProperty->setAccessible(true);
408408
$idProperty->setValue($newUser, Uuid::fromString($payload['id']));
409409

410410
return $newUser;

src/EventListener/Api/PublishableEventListener.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,14 +230,14 @@ private function mergeDraftIntoPublished(string $identifierFieldName, object $dr
230230
}
231231

232232
foreach ($properties as $property) {
233-
// $property->setAccessible(true);
233+
// $property->setAccessible(true);
234234
$name = $property->getName();
235235
if ($identifierFieldName === $name) {
236236
continue;
237237
}
238238
$draftProperty = $draftReflection->hasProperty($name) ? $draftReflection->getProperty($name) : null;
239239
if ($draftProperty) {
240-
// $draftProperty->setAccessible(true);
240+
// $draftProperty->setAccessible(true);
241241
$draftValue = $draftProperty->getValue($draftResource);
242242
$property->setValue($publishedResource, $draftValue);
243243
}

src/Serializer/Normalizer/PublishableNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ public function createDraft(object $object, Publishable $configuration, string $
259259
*/
260260
public function supportsDenormalization($data, $type, $format = null, array $context = []): bool
261261
{
262-
return !isset($context[self::ALREADY_CALLED]) && $this->publishableStatusChecker->getAttributeReader()->isConfigured($type) && is_array($data);
262+
return !isset($context[self::ALREADY_CALLED]) && $this->publishableStatusChecker->getAttributeReader()->isConfigured($type) && \is_array($data);
263263
}
264264

265265
private function getManagerFromType(string $type): ObjectManager

0 commit comments

Comments
 (0)