Both the $myVar assignment in line 1 and the $higher assignment in line 2
are dead. The first because $myVar is never used and the second because
$higher is always overwritten for every possible time line.
Loading history...
19
switch( true ) {
20
case ! empty( $shortcode_prop ):
21
$submit_button_text = $shortcode_prop;
22
break;
23
24
case $this->form_data['form_settings']['yikes-easy-mc-submit-button-text']:
In PHP it is possible to write to properties without declaring them. For example, the following is perfectly valid PHP code:
Generally, it is a good practice to explictly declare properties to avoid accidental typos and provide IDE auto-completion: