-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
"Improve code readability with better structuring
This commit involves cleanup and improved structuring of multiple function calls and if-else conditions across multiple classes for improved readability. Code has been refactored to use explicit comparisons, multi-line function arguments and chained method calls to enhance understanding and maintainability. No changes in functionality have been introduced."
- Loading branch information
1 parent
4f9f21e
commit c7b34ab
Showing
2 changed files
with
25 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
/** | ||
* This file is part of Cloud-Admin project. | ||
* | ||
* @link https://www.cloud-admin.jayjay.cn | ||
* @document https://wiki.cloud-admin.jayjay.cn | ||
* @license https://github.com/swow-cloud/swow-admin/blob/master/LICENSE | ||
*/ | ||
use PhpStyler\Config; | ||
use PhpStyler\Files; | ||
use PhpStyler\Styler; | ||
|
||
return new Config( | ||
files: new Files(__DIR__ . '/cloud-admin'), | ||
styler: new Styler(), | ||
); |