Completed
Push — master ( fadbbf...ce034e )
by Beñat
02:42
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
 
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      */
41 41
     public function convertToPHPValue($value, AbstractPlatform $platform)
42 42
     {
43
-        $userRoles = array_map(function ($role) {
43
+        $userRoles = array_map(function($role) {
44 44
             return new UserRole($role);
45 45
         }, json_decode($value));
46 46
 
Please login to merge, or discard this patch.