Skip to content

Commit c09281f

Browse files
committed
code readability improvement
1 parent c2b5268 commit c09281f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Assets/Asset.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,11 @@ public function get_full_resource_path( bool $use_min_if_available = true ): str
11271127
return '';
11281128
}
11291129

1130-
if ( str_starts_with( $resource_path_data['resource'], 'http://' ) || str_starts_with( $resource_path_data['resource'], 'https://' ) || str_starts_with( $resource_path_data['resource'], '//' ) ) {
1130+
if (
1131+
str_starts_with( $resource_path_data['resource'], 'http://' ) ||
1132+
str_starts_with( $resource_path_data['resource'], 'https://' ) ||
1133+
str_starts_with( $resource_path_data['resource'], '//' )
1134+
) {
11311135
return $resource_path_data['resource'];
11321136
}
11331137
$resource = $resource_path_data['resource'];

0 commit comments

Comments
 (0)