[PR #537] [CLOSED] Patch file explorer in issue/353 #815

Closed
opened 2026-02-04 18:52:47 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/537
Author: @rmartinoscar
Created: 8/9/2024
Status: Closed

Base: issue/353Head: patch-1


📝 Commits (2)

📊 Changes

2 files changed (+52 additions, -52 deletions)

View changed files

📝 app/Filament/App/Resources/FileResource/Pages/ListFiles.php (+2 -2)
📝 app/Models/File.php (+50 -50)

📄 Description

Add is_ in front of bools so (bool) self::$is_directory and (string) self::$directory are different

Change File::$file File::$directory File::$symlink to File::$is_file File::$is_directory File::$is_symlink

PHPStan is still mad cause of Sushi


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/panel/pull/537 **Author:** [@rmartinoscar](https://github.com/rmartinoscar) **Created:** 8/9/2024 **Status:** ❌ Closed **Base:** `issue/353` ← **Head:** `patch-1` --- ### 📝 Commits (2) - [`f3d12da`](https://github.com/pelican-dev/panel/commit/f3d12dae3f18a1e60f79f1a7b489307c5111545e) Update File.php - [`fc4b530`](https://github.com/pelican-dev/panel/commit/fc4b530047df1e776e6d5371b5c1af644df838d0) Update ListFiles.php ### 📊 Changes **2 files changed** (+52 additions, -52 deletions) <details> <summary>View changed files</summary> 📝 `app/Filament/App/Resources/FileResource/Pages/ListFiles.php` (+2 -2) 📝 `app/Models/File.php` (+50 -50) </details> ### 📄 Description Add is_ in front of bools so `(bool) self::$is_directory` and `(string) self::$directory` are different Change `File::$file File::$directory File::$symlink` to `File::$is_file File::$is_directory File::$is_symlink` PHPStan is still mad cause of [Sushi](https://github.com/calebporzio/sushi) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-04 18:52:47 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#815