original_string: protected function formatNotificationData($notifications)
      {
          return collect($notifications)->map(function ($notification) {
              $notification->data = json_decode($notification->data);
              return $notification;
          });
      }
code: protected function formatNotificationData($notifications)
      {
          return collect($notifications)->map(function ($notification) {
              $notification->data = json_decode($notification->data);
              return $notification;
          });
      }
code_tokens: protected function formatNotificationData ( $ notifications ) { return collect ( $ notifications ) -> map ( function ( $ notification ) { $ notification -> data = json_decode ( $ notification -> data ) ; return $ notification ; } ) ; }
docstring: Decode notification data
  
  @param $notifications
  
  @return \Illuminate\Support\Collection
docstring_tokens: Decode notification data