mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-19 18:34:38 +02:00
Fixed code style.
This commit is contained in:
parent
2853e471c4
commit
d0b1024d80
212 changed files with 495 additions and 1005 deletions
|
@ -72,7 +72,7 @@ class AttachmentManager
|
|||
*/
|
||||
public function attachmentToFile(Attachment $attachment): ?SplFileInfo
|
||||
{
|
||||
if ($attachment->isExternal() || ! $this->isFileExisting($attachment)) {
|
||||
if ($attachment->isExternal() || !$this->isFileExisting($attachment)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
@ -150,7 +150,7 @@ class AttachmentManager
|
|||
return null;
|
||||
}
|
||||
|
||||
if (! $this->isFileExisting($attachment)) {
|
||||
if (!$this->isFileExisting($attachment)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue