Completed
Push — master ( b61f6b...0ad979 )
by Beñat
04:32
created
DoctrineORMBridge/Infrastructure/Persistence/Types/UserRolesType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      */
29 29
     public function convertToDatabaseValue($value, AbstractPlatform $platform)
30 30
     {
31
-        $roles = array_map(function (UserRole $role) {
31
+        $roles = array_map(function(UserRole $role) {
32 32
             return $role->role();
33 33
         }, $value);
34 34
 
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
             return;
45 45
         }
46 46
 
47
-        $userRoles = array_map(function ($role) {
47
+        $userRoles = array_map(function($role) {
48 48
             return new UserRole($role);
49 49
         }, json_decode($value));
50 50
 
Please login to merge, or discard this patch.