Code Duplication    Length = 3-3 lines in 2 locations

app/Models/Task/Base/Task.php 1 location

@@ 695-697 (lines=3) @@
692
                    case 'id':
693
                        $stmt->bindValue($identifier, $this->id, PDO::PARAM_INT);
694
                        break;
695
                    case 'created_at':
696
                        $stmt->bindValue($identifier, $this->created_at ? $this->created_at->format("Y-m-d H:i:s") : null, PDO::PARAM_STR);
697
                        break;
698
                    case 'updated_at':
699
                        $stmt->bindValue($identifier, $this->updated_at ? $this->updated_at->format("Y-m-d H:i:s") : null, PDO::PARAM_STR);
700
                        break;

app/Models/User/Base/User.php 1 location

@@ 875-877 (lines=3) @@
872
                    case 'remember_token':
873
                        $stmt->bindValue($identifier, $this->remember_token, PDO::PARAM_STR);
874
                        break;
875
                    case 'created_at':
876
                        $stmt->bindValue($identifier, $this->created_at ? $this->created_at->format("Y-m-d H:i:s") : null, PDO::PARAM_STR);
877
                        break;
878
                    case 'updated_at':
879
                        $stmt->bindValue($identifier, $this->updated_at ? $this->updated_at->format("Y-m-d H:i:s") : null, PDO::PARAM_STR);
880
                        break;