Skip to content

Commit 58a7056

Browse files
hbgamrajaviereguiluz
authored andcommitted
Update upload_file.rst
Add string type as param and in function return
1 parent 46236ec commit 58a7056

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

controller/upload_file.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ add a PDF brochure for each product. To do so, add a new property called
2929
*/
3030
private $brochureFilename;
3131

32-
public function getBrochureFilename()
32+
public function getBrochureFilename(): string
3333
{
3434
return $this->brochureFilename;
3535
}
3636

37-
public function setBrochureFilename($brochureFilename)
37+
public function setBrochureFilename(string $brochureFilename)
3838
{
3939
$this->brochureFilename = $brochureFilename;
4040

0 commit comments

Comments
 (0)