Code Duplication    Length = 7-7 lines in 2 locations

Http/Controllers/Admin/TagController.php 2 locations

@@ 89-95 (lines=7) @@
86
     * @param  UpdateTagRequest $request
87
     * @return Response
88
     */
89
    public function update(Tag $tag, UpdateTagRequest $request)
90
    {
91
        $this->tag->update($tag, $request->all());
92
93
        return redirect()->route('admin.tag.tag.index')
94
            ->withSuccess(trans('core::core.messages.resource updated', ['name' => trans('tag::tags.tags')]));
95
    }
96
97
    /**
98
     * Remove the specified resource from storage.
@@ 103-109 (lines=7) @@
100
     * @param  Tag $tag
101
     * @return Response
102
     */
103
    public function destroy(Tag $tag)
104
    {
105
        $this->tag->destroy($tag);
106
107
        return redirect()->route('admin.tag.tag.index')
108
            ->withSuccess(trans('core::core.messages.resource deleted', ['name' => trans('tag::tags.tags')]));
109
    }
110
111
    private function formatNamespaces(array $namespaces)
112
    {