Skip to content

Commit

Permalink
fix: correct check for existing schema in endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
tinect committed Jan 8, 2022
1 parent e8aa017 commit 9015cc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}
],
"require": {
"php": ">=7.0.0",
"php": ">=7.4",
"league/flysystem": "~1.0",
"ext-json": "*",
"league/flysystem-aws-s3-v3": "^1.0"
Expand Down
2 changes: 1 addition & 1 deletion src/BunnyCDNAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function __construct($storageName, $apiKey, $endpoint, $subfolder = '')
$subfolder = rtrim($subfolder, '/') . '/';
}

if (strpos('http', $endpoint) !== 0) {
if (strpos($endpoint, 'http') !== 0) {
$endpoint = 'https://' . $endpoint;
}

Expand Down

0 comments on commit 9015cc4

Please sign in to comment.