mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 02:09:03 +02:00
Fixed some inspection issues.
This commit is contained in:
parent
6caf605fe2
commit
e01b06fb85
80 changed files with 173 additions and 218 deletions
|
@ -148,7 +148,7 @@ class CleanAttachmentsCommand extends Command
|
|||
*
|
||||
* @return bool
|
||||
*/
|
||||
protected function removeEmptySubFolders($path)
|
||||
protected function removeEmptySubFolders($path): bool
|
||||
{
|
||||
$empty = true;
|
||||
foreach (glob($path.DIRECTORY_SEPARATOR.'*') as $file) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue