Completed
Push — master ( b7ab4b...7ca134 )
by Beñat
02:33
created
DoctrineODMMongoDBBridge/Infrastructure/Persistence/Types/UserRolesType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function convertToDatabaseValue($value)
29 29
     {
30
-        $roles = array_map(function (UserRole $role) {
30
+        $roles = array_map(function(UserRole $role) {
31 31
             return $role->role();
32 32
         }, $value);
33 33
 
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      */
40 40
     public function convertToPHPValue($value)
41 41
     {
42
-        $userRoles = array_map(function ($role) {
42
+        $userRoles = array_map(function($role) {
43 43
             return new UserRole($role);
44 44
         }, json_decode($value));
45 45
 
Please login to merge, or discard this patch.