Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
fix: remove string constraint in uploads param
Browse files Browse the repository at this point in the history
  • Loading branch information
devuri committed Mar 8, 2021
1 parent 3570754 commit fb5ae22
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ConfigInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function site_url(): ConfigInterface;
* @param $upload_dir
* @return self
*/
public function uploads( string $upload_dir ): ConfigInterface;
public function uploads( $upload_dir ): ConfigInterface;

/**
* DB settings
Expand Down
2 changes: 1 addition & 1 deletion src/EnvConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ abstract function site_url(): ConfigInterface;
* @param $upload_dir
* @return self
*/
abstract function uploads( string $upload_dir ): ConfigInterface;
abstract function uploads( $upload_dir ): ConfigInterface;

/**
* DB settings
Expand Down
2 changes: 1 addition & 1 deletion src/Setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function site_url(): ConfigInterface {
* @param $upload_dir
* @return self
*/
public function uploads( string $upload_dir ): ConfigInterface {
public function uploads( $upload_dir ): ConfigInterface {

self::define( 'UPLOADS', env('UPLOAD_DIR') ?: self::const( 'uploads' ) );
return $this;
Expand Down

0 comments on commit fb5ae22

Please sign in to comment.