public static function insertVote($imageId, $voteChoice) { return Votes::insert(array('user_id' => Auth::user()->id, 'image_id' => $imageId, 'vote' => $voteChoice, 'notification' => 1, 'created_at' => new DateTime(), 'updated_at' => new DateTime())); }