Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

done #3

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

done #3

wants to merge 7 commits into from

Conversation

svfcode
Copy link

@svfcode svfcode commented Jan 4, 2022

No description provided.

@lee-to
Copy link
Owner

lee-to commented Jan 5, 2022

есть ошибки, глянь детально отчет по тестам

@lee-to
Copy link
Owner

lee-to commented Jan 6, 2022

Gj

@@ -56,6 +57,8 @@ public function task6($id, Request $request)
$product = Item::findOrFail($id);
// TODO Eloquent Задание 6: В запросе будет все необходимое для обновления записи
// Выполнить простое обновление записи на основе $request
$product->update($request->all());
$product->save();
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А зачем save?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Оооо, точно лишний метод

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants