Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 698-700 (lines=3) @@
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;
701
                }
702
            }
703
            $stmt->execute();

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

@@ 878-880 (lines=3) @@
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;
881
                }
882
            }
883
            $stmt->execute();