Passed
Pull Request — master (#121)
by
unknown
02:49
created
src/Provider/Doctrine/Auditing/Transaction/AuditTrait.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
         switch ($type->getName()) {
86 86
             case DoctrineHelper::getDoctrineType('BIGINT'):
87
-                $convertedValue = (string) $value;  // @phpstan-ignore-line
87
+                $convertedValue = (string) $value; // @phpstan-ignore-line
88 88
 
89 89
                 break;
90 90
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
             case 'uuid':
107 107
             case 'ulid':
108 108
                 // Ramsey UUID / Symfony UID (UUID/ULID)
109
-                $convertedValue = (string) $value;  // @phpstan-ignore-line
109
+                $convertedValue = (string) $value; // @phpstan-ignore-line
110 110
 
111 111
                 break;
112 112
 
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
         $cacheValues = [];
152 152
         if ($cache !== null) {
153 153
             try {
154
-                $item = $cache->getItem('AUDIT_' . $class);
154
+                $item = $cache->getItem('AUDIT_'.$class);
155 155
                 if ($item->isHit()) {
156 156
                     if (is_array($cached = $item->get())) {
157 157
                         $cacheValues = $cached;
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
             }
162 162
         }
163 163
 
164
-        $getMeta = function () use ($entity, $entityManager): ClassMetadata {
164
+        $getMeta = function() use ($entity, $entityManager): ClassMetadata {
165 165
             static $meta;
166 166
             if ($meta !== null) {
167 167
                 return $meta;
Please login to merge, or discard this patch.