php: lint docs
parent
bb06f3af34
commit
141a9fe4a4
|
@ -189,16 +189,15 @@ class PeopleController extends ApiBase
|
||||||
/**
|
/**
|
||||||
* Get face preview image cropped with imagick.
|
* Get face preview image cropped with imagick.
|
||||||
*
|
*
|
||||||
* @param array $detections Array of detections to search
|
* @param array $detections Array of detections to search
|
||||||
* @param \OCP\IUser $user User to search for
|
* @param \OCP\IUser $user User to search for
|
||||||
* @param int $padding Padding to add to the face in preview
|
* @param int $padding Padding to add to the face in preview
|
||||||
*/
|
*/
|
||||||
private function getPreviewResponse(
|
private function getPreviewResponse(
|
||||||
array $detections,
|
array $detections,
|
||||||
\OCP\IUser $user,
|
\OCP\IUser $user,
|
||||||
float $padding
|
float $padding
|
||||||
): Http\Response
|
): Http\Response {
|
||||||
{
|
|
||||||
// Get preview manager
|
// Get preview manager
|
||||||
$previewManager = \OC::$server->get(\OCP\IPreview::class);
|
$previewManager = \OC::$server->get(\OCP\IPreview::class);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue