Skip to content

Commit

Permalink
Apply fixes from StyleCI (w7corp#1693)
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
overtrue authored Sep 25, 2019
1 parent a32a39e commit 511f0fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BasicService/ContentSecurity/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function checkMediaAsync(string $mediaUrl, int $mediaType)
*/
$mediaTypes = [1, 2];

if (!in_array($mediaType, $mediaTypes)) {
if (!in_array($mediaType, $mediaTypes, true)) {
throw new InvalidArgumentException('media type must be 1 or 2');
}

Expand Down

0 comments on commit 511f0fe

Please sign in to comment.