File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -387,7 +387,7 @@ private function initResponse(View $view, $format)
387387 if ($ this ->isFormatTemplating ($ format )) {
388388 $ content = $ this ->renderTemplate ($ view , $ format );
389389 } elseif ($ this ->serializeNull || null !== $ view ->getData ()) {
390- $ data = $ this ->getViewDataForResponse ($ view );
390+ $ data = $ this ->getDataFromView ($ view );
391391 $ serializer = $ this ->getSerializer ($ view );
392392 if ($ serializer instanceof SerializerInterface) {
393393 $ context = $ this ->getSerializationContext ($ view );
@@ -436,7 +436,7 @@ protected function getFormFromView(View $view)
436436 *
437437 * @return mixed|null
438438 */
439- private function getViewDataForResponse (View $ view )
439+ private function getDataFromView (View $ view )
440440 {
441441 $ form = $ this ->getFormFromView ($ view );
442442
You can’t perform that action at this time.
0 commit comments