GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 8-8 lines in 2 locations

app/Repositories/ServerRepository.php 2 locations

@@ 700-707 (lines=8) @@
697
            if ($variables) {
698
                foreach ($variables as &$variable) {
699
                    // Move on if the new data wasn't even sent
700
                    if (! isset($data[$variable->env_variable])) {
701
                        $variableList[] = [
702
                            'id' => $variable->id,
703
                            'env' => $variable->env_variable,
704
                            'val' => $variable->a_currentValue,
705
                        ];
706
                        continue;
707
                    }
708
709
                    // Update Empty but skip validation
710
                    if (empty($data[$variable->env_variable])) {
@@ 710-717 (lines=8) @@
707
                    }
708
709
                    // Update Empty but skip validation
710
                    if (empty($data[$variable->env_variable])) {
711
                        $variableList[] = [
712
                            'id' => $variable->id,
713
                            'env' => $variable->env_variable,
714
                            'val' => null,
715
                        ];
716
                        continue;
717
                    }
718
719
                    // Is the variable required?
720
                    // @TODO: is this even logical to perform this check?