Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitafb1a60

Browse files
committed
minor#10699 Wrong function name (MohamedElKadaoui)
This PR was submitted for the 3.4 branch but it was merged into the 2.8 branch instead (closes#10699).Discussion----------Wrong function name<!--If your pull request fixes a BUG, use the oldest maintained branch that containsthe bug (seehttps://symfony.com/roadmap for the list of maintained branches).If your pull request documents a NEW FEATURE, use the same Symfony branch wherethe feature was introduced (and `master` for features of unreleased versions).-->Commits-------1a940b4 Wrong function name
2 parents9ef5e2c +1a940b4 commitafb1a60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎controller/upload_file.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ logic to a separate service::
236236
$fileName = md5(uniqid()).'.'.$file->guessExtension();
237237

238238
try {
239-
$file->move($this->getTargetDir(), $fileName);
239+
$file->move($this->getTargetDirectory(), $fileName);
240240
} catch (FileException $e) {
241241
// ... handle exception if something happens during file upload
242242
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp