8000 Update upload_file.rst · Guikingone/symfony-docs@0b779f9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0b779f9

Browse files
authored
Update upload_file.rst
1 parent 9f19ce6 commit 0b779f9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

controller/upload_file.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,7 @@ controller.
443443
{
444444
$entity = $args->getEntity();
445445
446-
// Only for tests purpose and proper object validation
447-
if (!$entity instanceof ObjectWanted) {
446+
if (!$entity instanceof Product) {
448447
return;
449448
}
450449

0 commit comments

Comments
 (0)
0