Skip to content

Commit 341f6a4

Browse files
authored
Merge pull request #3326 from Strategy11/rector_fix
Get rector passing
2 parents 6749ab9 + 420441f commit 341f6a4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

classes/models/FrmAddon.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,9 +1175,9 @@ private function activate_license( $license ) {
11751175
$this->update_last_checked( (bool) $is_valid );
11761176

11771177
if ( $is_valid ) {
1178-
// Setting the license active clears the license caches, so the new license details are available here.
1179-
$response = $this->add_activation_response_data( $response );
1180-
}
1178+
// Setting the license active clears the license caches, so the new license details are available here.
1179+
return $this->add_activation_response_data( $response );
1180+
}
11811181

11821182
return $response;
11831183
}

0 commit comments

Comments
 (0)