Skip to content

Commit 4cd4703

Browse files
authored
remove DLP comment and use better formatting (GoogleCloudPlatform#412)
1 parent cef1569 commit 4cd4703

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

dlp/src/inspect_file.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,7 @@ function inspect_file(
5656

5757
// Construct file data to inspect
5858
$content = new ContentItem();
59-
// $content->setType('image/png');
60-
$content->setType(
61-
mime_content_type($path) ?: 'application/octet-stream');
59+
$content->setType(mime_content_type($path) ?: 'application/octet-stream');
6260
$content->setData(file_get_contents($path));
6361

6462
// Run request

0 commit comments

Comments
 (0)