Skip to content

Commit 5263e64

Browse files
committed
Fix PHPStorm warnings
1 parent b4f4934 commit 5263e64

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

LinkedCustomFields.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public function schema() {
115115
* @param array $p_event_args The event arguments
116116
* @return void
117117
*
118-
* @noinspection PhpUnusedParameterInspection
118+
* @noinspection PhpUnused, PhpUnusedParameterInspection
119119
*/
120120
public function routes( $p_event_name, $p_event_args ) {
121121
$t_app = $p_event_args['app'];

pages/link_update.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
form_security_purge( 'configure_custom_field_link' );
4747

4848
if( LinkedCustomFieldsDao::getLinkedFieldId( $f_target_field_id ) ) {
49-
plugin_error( LinkedCustomFieldsPlugin::ERROR_ALREADY_LINKED, ERROR );
49+
plugin_error( LinkedCustomFieldsPlugin::ERROR_ALREADY_LINKED );
5050
} else {
5151
LinkedCustomFieldsDao::replaceValues( $f_source_field_id, $f_target_field_id , $t_value_mappings );
5252
header("Location: " . plugin_page( 'configure_links.php' ) );

0 commit comments

Comments
 (0)