Code Duplication    Length = 8-8 lines in 2 locations

tests/stubs/Recipe/Http/Controllers/Admin/RecipeController.php 2 locations

@@ 87-94 (lines=8) @@
84
     * @param  Request $request
85
     * @return Response
86
     */
87
    public function update(Recipe $recipe, Request $request)
88
    {
89
        $this->recipe->update($recipe, $request->all());
90
91
        flash()->success(trans('core::core.messages.resource updated', ['name' => trans('recipe::recipes.title.recipes')]));
92
93
        return redirect()->route('admin.recipe.recipe.index');
94
    }
95
96
    /**
97
     * Remove the specified resource from storage.
@@ 102-109 (lines=8) @@
99
     * @param  Recipe $recipe
100
     * @return Response
101
     */
102
    public function destroy(Recipe $recipe)
103
    {
104
        $this->recipe->destroy($recipe);
105
106
        flash()->success(trans('core::core.messages.resource deleted', ['name' => trans('recipe::recipes.title.recipes')]));
107
108
        return redirect()->route('admin.recipe.recipe.index');
109
    }
110
}
111