mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-16 05:14:35 +02:00
Fixed code style.
This commit is contained in:
parent
1aed1d1d26
commit
9a7223a301
142 changed files with 534 additions and 716 deletions
|
@ -51,7 +51,7 @@ class AttachmentReverseSearch
|
|||
*
|
||||
* @param \SplFileInfo $file The file for which is searched
|
||||
*
|
||||
* @return Attachment[] An list of attachments that use the given file.
|
||||
* @return Attachment[] an list of attachments that use the given file
|
||||
*/
|
||||
public function findAttachmentsByFile(\SplFileInfo $file): array
|
||||
{
|
||||
|
@ -69,7 +69,7 @@ class AttachmentReverseSearch
|
|||
* Deletes the given file if it is not used by more than $threshold attachments.
|
||||
*
|
||||
* @param \SplFileInfo $file The file that should be removed
|
||||
* @param int $threshold The threshold used, to determine if a file should be deleted or not.
|
||||
* @param int $threshold the threshold used, to determine if a file should be deleted or not
|
||||
*
|
||||
* @return bool True, if the file was delete. False if not.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue