Skip to content

Commit

Permalink
Old code removed from Translation Contract
Browse files Browse the repository at this point in the history
  • Loading branch information
Flobbo authored and Flobbo committed Jan 2, 2018
1 parent e5992ea commit e8b920c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Crudable/Contracts/Translation.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ public function processTranslations(
* Save translations to model
* @param \Illuminate\Database\Eloquent\Model $model
* @param array $translations
* @param string $relation_name
* @return Model
*/
public function saveTranslations(
\Illuminate\Database\Eloquent\Model $model,
array $translations,
$relation_name = 'translations');
array $translations);

/**
* Update existing translations from form input
Expand Down

0 comments on commit e8b920c

Please sign in to comment.