mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-03 05:55:16 +01:00
Fixed some issues detected by PHPstan.
This commit is contained in:
@@ -119,7 +119,7 @@ class UserController extends AdminPages\BaseAdminController
|
||||
/**
|
||||
* @Route("/{id}/export", name="user_export")
|
||||
*
|
||||
* @param AttachmentType $entity
|
||||
* @param User $entity
|
||||
*
|
||||
* @return Response
|
||||
*/
|
||||
@@ -167,7 +167,7 @@ class UserController extends AdminPages\BaseAdminController
|
||||
* Get either a Gravatar URL or complete image tag for a specified email address.
|
||||
*
|
||||
* @param string $email The email address
|
||||
* @param string $s Size in pixels, defaults to 80px [ 1 - 2048 ]
|
||||
* @param int $s Size in pixels, defaults to 80px [ 1 - 2048 ]
|
||||
* @param string $d Default imageset to use [ 404 | mm | identicon | monsterid | wavatar ]
|
||||
* @param string $r Maximum rating (inclusive) [ g | pg | r | x ]
|
||||
* @param bool $img True to return a complete IMG tag False for just the URL
|
||||
|
||||
Reference in New Issue
Block a user