Skip to content

Commit 6bac375

Browse files
Align nullabilty of PhysicalPath property with IFileInfo
1 parent a5f0d8f commit 6bac375

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Umbraco.StorageProviders.AzureBlob/AzureBlobItemInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ private AzureBlobItemInfo(BlobClient blobClient)
7272
public string Name { get; }
7373

7474
/// <inheritdoc />
75-
public string PhysicalPath => null!;
75+
public string? PhysicalPath => null;
7676

7777
/// <inheritdoc />
7878
public Stream CreateReadStream() => _blobClient.OpenRead();

src/Umbraco.StorageProviders.AzureBlob/AzureBlobPrefixInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public AzureBlobPrefixInfo(string prefix)
3636
public string Name { get; }
3737

3838
/// <inheritdoc />
39-
public string PhysicalPath => null!;
39+
public string? PhysicalPath => null;
4040

4141
/// <inheritdoc />
4242
public Stream CreateReadStream() => throw new InvalidOperationException();

0 commit comments

Comments
 (0)