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

@@ 558-560 (lines=3) @@
555
        $boolFields = [];
556
        $intFields = ['id', 'duration', 'sourceId'];
557
558
        foreach ($intFields as $k) {
559
            $song[$k] = is_null($song[$k]) ? null : (int)$song[$k];
560
        }
561
562
        foreach ($boolFields as $k) {
563
            $song[$k] = (bool)$song[$k];
@@ 659-661 (lines=3) @@
656
        $boolFields = ['used', 'deleted', 'private', 'blocking'];
657
        $intFields = ['id', 'songId'];
658
659
        foreach ($intFields as $k) {
660
            $ticket[$k] = is_null($ticket[$k]) ? null : (int)$ticket[$k];
661
        }
662
663
        foreach ($boolFields as $k) {
664
            $ticket[$k] = (bool)$ticket[$k];