mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 17:39:06 +02:00
Declare visibility on controller functions.
This commit is contained in:
parent
40714c1914
commit
44c482caf2
2 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ class PartController extends AbstractController
|
|||
* @Route("/part/{id}/info", name="part_info")
|
||||
* @Route("/part/{id}")
|
||||
*/
|
||||
function show(Part $part, AttachmentFilenameService $attachmentFilenameService)
|
||||
public function show(Part $part, AttachmentFilenameService $attachmentFilenameService)
|
||||
{
|
||||
$filename = $part->getMasterPictureFilename(true);
|
||||
dump($filename);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue