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

app/Services/TransactionService.php 2 locations

@@ 78-86 (lines=9) @@
75
     *
76
     * @return Transaction
77
     */
78
    public function createTransactionWithUsage(User $user, Collection $data, array $files = null)
79
    {
80
        $transaction = $this->createTransaction($user, $data, $files);
81
82
        $this->setPayeesLastUsedCategory($user, $data);
83
        $this->setPayeesLastUsedDate($user, $data);
84
85
        return $transaction;
86
    }
87
88
    /**
89
     * Creates a new transaction.
@@ 126-134 (lines=9) @@
123
     *
124
     * @return mixed
125
     */
126
    public function updateTransactionWithUsage(User $user, $id, Collection $data, array $files = null)
127
    {
128
        $transaction = $this->updateTransaction($user, $id, $data, $files);
129
130
        $this->setPayeesLastUsedCategory($user, $data);
131
        $this->setPayeesLastUsedDate($user, $data);
132
133
        return $transaction;
134
    }
135
136
    public function updateTransaction(User $user, $id, Collection $data, array $files = null)
137
    {