original_string: protected function mergeSchemas($service, $resource, $data)
      {
          $merged = false;
          if ('db/_schema' === $service . '/' . $resource) {
              $payload =
                  (true === config('df.always_wrap_resources')) ? [config('df.resources_wrapper') => $data] : $data;
              $result = ServiceManager::handleRequest($service, Verbs::PATCH, $resource, [], [], $payload);
              if ($result->getStatusCode() === 200) {
                  $merged = true;
              }
          }
  
          return $merged;
      }
code: protected function mergeSchemas($service, $resource, $data)
      {
          $merged = false;
          if ('db/_schema' === $service . '/' . $resource) {
              $payload =
                  (true === config('df.always_wrap_resources')) ? [config('df.resources_wrapper') => $data] : $data;
              $result = ServiceManager::handleRequest($service, Verbs::PATCH, $resource, [], [], $payload);
              if ($result->getStatusCode() === 200) {
                  $merged = true;
              }
          }
  
          return $merged;
      }
code_tokens: protected function mergeSchemas ( $ service , $ resource , $ data ) { $ merged = false ; if ( 'db/_schema' === $ service . '/' . $ resource ) { $ payload = ( true === config ( 'df.always_wrap_resources' ) ) ? [ config ( 'df.resources_wrapper' ) => $ data ] : $ data ; $ result = ServiceManager :: handleRequest ( $ service , Verbs :: PATCH , $ resource , [ ] , [ ] , $ payload ) ; if ( $ result -> getStatusCode ( ) === 200 ) { $ merged = true ; } } return $ merged ; }
docstring: Merges any schema changes.
  
  @param $service
  @param $resource
  @param $data
  
  @return bool
docstring_tokens: Merges any schema changes .