Skip to content

Commit

Permalink
Apply PHPCS
Browse files Browse the repository at this point in the history
  • Loading branch information
pereirinha committed Oct 6, 2020
1 parent ad0472f commit e28ba16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/sync/class-storage.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public function validate_file_folder_sync( $attachment_id ) {
*/
public function generate_signature( $attachment_id ) {
$file_exists = true;
if ( $this->settings['offload'] !== 'cld' ) {
if ( 'cld' !== $this->settings['offload'] ) {
$attachment_file = get_attached_file( $attachment_id );
if ( ! file_exists( $attachment_file ) ) {
$file_exists = $attachment_file;
Expand Down

0 comments on commit e28ba16

Please sign in to comment.