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

Commit

Permalink
Added some missing type declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewbdaly committed Nov 15, 2020
1 parent 5e7bc93 commit 628fe40
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/AzureStorageServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Matthewbdaly\LaravelAzureStorage;

use Illuminate\Contracts\Foundation\Application;
use Illuminate\Filesystem\Cache;
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\Storage;
Expand All @@ -27,7 +28,7 @@ final class AzureStorageServiceProvider extends ServiceProvider
*/
public function boot()
{
Storage::extend('azure', function ($app, $config) {
Storage::extend('azure', function (Application $app, array $config) {
$client = $app->make(BlobRestProxy::class, $config);
$adapter = new AzureBlobStorageAdapter(
$client,
Expand Down Expand Up @@ -59,7 +60,7 @@ class_exists(CachedAdapter::class);
*/
public function register()
{
$this->app->bind(BlobRestProxy::class, function ($app, $config) {
$this->app->bind(BlobRestProxy::class, function (Application $app, array $config) {
$config = empty($config) ? $app->make('config')->get('filesystems.disks.azure') : $config;

if (array_key_exists('sasToken', $config)) {
Expand Down

0 comments on commit 628fe40

Please sign in to comment.