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 = 3-3 lines in 2 locations

src/Phase/TakeATicket/DataSource/AbstractSql.php 2 locations

@@ 586-588 (lines=3) @@
583
        $boolFields = [];
584
        $intFields = ['id', 'duration', 'sourceId'];
585
586
        foreach ($intFields as $k) {
587
            $song[$k] = is_null($song[$k]) ? null : (int)$song[$k];
588
        }
589
590
        foreach ($boolFields as $k) {
591
            $song[$k] = (bool)$song[$k];
@@ 687-689 (lines=3) @@
684
        $boolFields = ['used', 'deleted', 'private', 'blocking'];
685
        $intFields = ['id', 'songId'];
686
687
        foreach ($intFields as $k) {
688
            $ticket[$k] = is_null($ticket[$k]) ? null : (int)$ticket[$k];
689
        }
690
691
        foreach ($boolFields as $k) {
692
            $ticket[$k] = (bool)$ticket[$k];