mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-24 16:18:00 +01:00
Declare visibility on controller functions.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user