Skip to content

Commit

Permalink
Fix PHPStorm warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dregad committed May 8, 2022
1 parent b4f4934 commit 5263e64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LinkedCustomFields.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public function schema() {
* @param array $p_event_args The event arguments
* @return void
*
* @noinspection PhpUnusedParameterInspection
* @noinspection PhpUnused, PhpUnusedParameterInspection
*/
public function routes( $p_event_name, $p_event_args ) {
$t_app = $p_event_args['app'];
Expand Down
2 changes: 1 addition & 1 deletion pages/link_update.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
form_security_purge( 'configure_custom_field_link' );

if( LinkedCustomFieldsDao::getLinkedFieldId( $f_target_field_id ) ) {
plugin_error( LinkedCustomFieldsPlugin::ERROR_ALREADY_LINKED, ERROR );
plugin_error( LinkedCustomFieldsPlugin::ERROR_ALREADY_LINKED );
} else {
LinkedCustomFieldsDao::replaceValues( $f_source_field_id, $f_target_field_id , $t_value_mappings );
header("Location: " . plugin_page( 'configure_links.php' ) );
Expand Down

0 comments on commit 5263e64

Please sign in to comment.